mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 19:40:37 +00:00
9149c2e4f4
* Change NoGenesisDelay to CustomGenesisDelay * Implement flag * gazelle * Fix docs * Merge branch 'master' of https://github.com/prysmaticlabs/Prysm into custom-genesis-delay * Fix * Gazelle * Add case to fix bad math * Merge branch 'master' into custom-genesis-delay
31 lines
873 B
Go
31 lines
873 B
Go
package endtoend
|
|
|
|
import (
|
|
"testing"
|
|
|
|
ev "github.com/prysmaticlabs/prysm/endtoend/evaluators"
|
|
"github.com/prysmaticlabs/prysm/shared/featureconfig"
|
|
"github.com/prysmaticlabs/prysm/shared/params"
|
|
"github.com/prysmaticlabs/prysm/shared/testutil"
|
|
)
|
|
|
|
func TestEndToEnd_DemoConfig(t *testing.T) {
|
|
t.Skip("Demo is essentially mainnet and too much to run in e2e at the moment")
|
|
testutil.ResetCache()
|
|
params.UseDemoBeaconConfig()
|
|
|
|
demoConfig := &end2EndConfig{
|
|
beaconFlags: append(featureconfig.E2EBeaconChainFlags, "--custom-genesis-delay=60"),
|
|
validatorFlags: featureconfig.E2EValidatorFlags,
|
|
epochsToRun: 5,
|
|
numBeaconNodes: 2,
|
|
numValidators: params.BeaconConfig().MinGenesisActiveValidatorCount,
|
|
evaluators: []ev.Evaluator{
|
|
ev.ValidatorsAreActive,
|
|
ev.ValidatorsParticipating,
|
|
ev.FinalizationOccurs,
|
|
},
|
|
}
|
|
runEndToEndTest(t, demoConfig)
|
|
}
|