Add Optimistic Sync Scenario Testing (#10836)

* add latest changes

* fix it

* add multiclient support

* fix tests

* Apply suggestions from code review

* fix test

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
Nishant Das
2022-06-10 07:24:53 +08:00
committed by GitHub
parent 18fc17c903
commit 7f443e8387
18 changed files with 363 additions and 72 deletions

View File

@@ -26,3 +26,11 @@ func TestEndToEnd_ScenarioRun_EEOffline(t *testing.T) {
runner.config.EvalInterceptor = runner.eeOffline
runner.scenarioRunner()
}
func TestEndToEnd_ScenarioRun_OptimisticSync(t *testing.T) {
runner := e2eMinimal(t)
runner.config.Evaluators = scenarioEvals()
runner.config.EvalInterceptor = runner.optimisticSync
runner.scenarioRunner()
}