mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-07 02:02:18 +00:00
a1a12243be
* checkpoint sync use finalized state+block instead of finding the block at the beginning of the weak subjectivity epoch. * happy path test for sync-from-finalized * gofmt * functional opts for the minimal e2e * add TestCheckpointSync option * wip: pushing for CI * include conn index in log for debugging * lint * block until regular sync test finishes * restore TestSync->testDoppelGangerProtection link * update bazel deps for all the test targets * updating to match current checksum from github Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
29 lines
754 B
Go
29 lines
754 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()
|
|
}
|