mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-05 17:22:18 +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>
37 lines
968 B
Go
37 lines
968 B
Go
package endtoend
|
|
|
|
import "testing"
|
|
|
|
func TestEndToEnd_ScenarioRun_BeaconOffline(t *testing.T) {
|
|
runner := e2eMinimal(t)
|
|
|
|
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.scenarioRunner()
|
|
}
|
|
|
|
func TestEndToEnd_ScenarioRun_EEOffline(t *testing.T) {
|
|
t.Skip("TODO(#10242) Prysm is current unable to handle an offline e2e")
|
|
runner := e2eMinimal(t)
|
|
|
|
runner.config.Evaluators = scenarioEvals()
|
|
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()
|
|
}
|