mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-20 16:41:11 +00:00
7f443e8387
* 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>
24 lines
738 B
Go
24 lines
738 B
Go
package endtoend
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestEndToEnd_MainnetConfig_MultiClient(t *testing.T) {
|
|
e2eMainnet(t, false /*usePrysmSh*/, true /*useMultiClient*/).run()
|
|
}
|
|
|
|
func TestEndToEnd_ScenarioRun_BeaconOffline_Multiclient(t *testing.T) {
|
|
runner := e2eMainnet(t, false /*usePrysmSh*/, true /*useMultiClient*/)
|
|
runner.config.Evaluators = scenarioEvalsMulti()
|
|
runner.config.EvalInterceptor = runner.singleNodeOffline
|
|
runner.scenarioRunner()
|
|
}
|
|
|
|
func TestEndToEnd_ScenarioRun_OptimisticSync_Multiclient(t *testing.T) {
|
|
runner := e2eMainnet(t, false /*usePrysmSh*/, true /*useMultiClient*/)
|
|
runner.config.Evaluators = scenarioEvalsMulti()
|
|
runner.config.EvalInterceptor = runner.optimisticSyncMulticlient
|
|
runner.scenarioRunner()
|
|
}
|