mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 04:47:18 +00:00
dbeb3ee886
* WIP * WIP * WIP * WIP * WIP * WIP * WIP * Onboard validator's Beacon REST API usage to e2e tests * Remove unused variables * Remove use_beacon_api tags * Fix DeepSource errors * Revert unneeded changes * Revert evaluator changes * Revert import reordering * Address PR comments * Remove all REST API e2e tests except minimal one * Fix validator pointing to inexisting beacon node port Co-authored-by: Radosław Kapka <rkapka@wp.pl>
33 lines
859 B
Go
33 lines
859 B
Go
package endtoend
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/prysmaticlabs/prysm/v3/testing/endtoend/types"
|
|
)
|
|
|
|
func TestEndToEnd_MultiScenarioRun(t *testing.T) {
|
|
runner := e2eMinimal(t, types.WithEpochs(22))
|
|
|
|
runner.config.Evaluators = scenarioEvals()
|
|
runner.config.EvalInterceptor = runner.multiScenario
|
|
runner.scenarioRunner()
|
|
}
|
|
|
|
func TestEndToEnd_MinimalConfig_Web3Signer(t *testing.T) {
|
|
e2eMinimal(t, types.WithRemoteSigner()).run()
|
|
}
|
|
|
|
func TestEndToEnd_MinimalConfig_ValidatorRESTApi(t *testing.T) {
|
|
e2eMinimal(t, types.WithCheckpointSync(), types.WithValidatorRESTApi()).run()
|
|
}
|
|
|
|
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()
|
|
}
|