mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 23:48:06 -05:00
Batch Scenario Runs Into Single Test (#10878)
* batch scenarios * fix * fix * Update testing/endtoend/endtoend_test.go
This commit is contained in:
@@ -1,20 +1,16 @@
|
||||
package endtoend
|
||||
|
||||
import "testing"
|
||||
import (
|
||||
"testing"
|
||||
|
||||
func TestEndToEnd_ScenarioRun_BeaconOffline(t *testing.T) {
|
||||
runner := e2eMinimal(t)
|
||||
"github.com/prysmaticlabs/prysm/testing/endtoend/types"
|
||||
)
|
||||
|
||||
func TestEndToEnd_MultiScenarioRun(t *testing.T) {
|
||||
runner := e2eMinimal(t, types.WithEpochs(22))
|
||||
|
||||
runner.config.Evaluators = scenarioEvals()
|
||||
runner.config.EvalInterceptor = runner.singleNodeOffline
|
||||
runner.scenarioRunner()
|
||||
}
|
||||
|
||||
func TestEndToEnd_ScenarioRun_AllvalidatorsOffline(t *testing.T) {
|
||||
runner := e2eMinimal(t)
|
||||
|
||||
runner.config.Evaluators = scenarioEvals()
|
||||
runner.config.EvalInterceptor = runner.allValidatorsOffline
|
||||
runner.config.EvalInterceptor = runner.multiScenario
|
||||
runner.scenarioRunner()
|
||||
}
|
||||
|
||||
@@ -26,11 +22,3 @@ 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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user