2022-05-20 09:34:10 +00:00
|
|
|
package endtoend
|
|
|
|
|
2022-06-15 08:02:31 +00:00
|
|
|
import (
|
|
|
|
"testing"
|
2022-05-20 09:34:10 +00:00
|
|
|
|
2022-06-15 08:02:31 +00:00
|
|
|
"github.com/prysmaticlabs/prysm/testing/endtoend/types"
|
|
|
|
)
|
2022-05-20 09:34:10 +00:00
|
|
|
|
2022-06-15 08:02:31 +00:00
|
|
|
func TestEndToEnd_MultiScenarioRun(t *testing.T) {
|
|
|
|
runner := e2eMinimal(t, types.WithEpochs(22))
|
2022-05-20 09:34:10 +00:00
|
|
|
|
|
|
|
runner.config.Evaluators = scenarioEvals()
|
2022-06-15 08:02:31 +00:00
|
|
|
runner.config.EvalInterceptor = runner.multiScenario
|
2022-05-20 09:34:10 +00:00
|
|
|
runner.scenarioRunner()
|
|
|
|
}
|
|
|
|
|
2022-06-24 17:01:12 +00:00
|
|
|
func TestEndToEnd_MinimalConfig_Web3Signer(t *testing.T) {
|
|
|
|
e2eMinimal(t, types.WithRemoteSigner()).run()
|
|
|
|
}
|
|
|
|
|
2022-05-20 09:34:10 +00:00
|
|
|
func TestEndToEnd_ScenarioRun_EEOffline(t *testing.T) {
|
|
|
|
t.Skip("TODO(#10242) Prysm is current unable to handle an offline e2e")
|
2022-05-25 22:52:43 +00:00
|
|
|
runner := e2eMinimal(t)
|
2022-05-20 09:34:10 +00:00
|
|
|
|
|
|
|
runner.config.Evaluators = scenarioEvals()
|
|
|
|
runner.config.EvalInterceptor = runner.eeOffline
|
|
|
|
runner.scenarioRunner()
|
|
|
|
}
|