mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-03 16:37:39 +00:00
28 lines
622 B
Go
28 lines
622 B
Go
|
package endtoend
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
ev "github.com/prysmaticlabs/prysm/endtoend/evaluators"
|
||
|
"github.com/prysmaticlabs/prysm/shared/params"
|
||
|
"github.com/prysmaticlabs/prysm/shared/testutil"
|
||
|
)
|
||
|
|
||
|
func TestEndToEnd_DemoConfig(t *testing.T) {
|
||
|
testutil.ResetCache()
|
||
|
params.UseDemoBeaconConfig()
|
||
|
|
||
|
demoConfig := &end2EndConfig{
|
||
|
minimalConfig: false,
|
||
|
epochsToRun: 5,
|
||
|
numBeaconNodes: 4,
|
||
|
numValidators: params.BeaconConfig().MinGenesisActiveValidatorCount,
|
||
|
evaluators: []ev.Evaluator{
|
||
|
ev.ValidatorsAreActive,
|
||
|
ev.ValidatorsParticipating,
|
||
|
ev.FinalizationOccurs,
|
||
|
},
|
||
|
}
|
||
|
runEndToEndTest(t, demoConfig)
|
||
|
}
|