mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 11:57:18 +00:00
ed529965af
* e2e ssz cache busting * use ssz cache for e2e * caching ensure * fix up the cache even more * gazelle * formatting * formatting * add back cache for val registry * sync * fix up commented item * add attestations * Merge branch 'master' into e2e-ssz-cache * Merge branch 'master' into e2e-ssz-cache * Merge branch 'e2e-ssz-cache' of github.com:prysmaticlabs/prysm into e2e-ssz-cache * formatting * gaz * Merge branch 'master' into e2e-ssz-cache * resolve comments * Merge branch 'master' into e2e-ssz-cache * naming of test * Merge refs/heads/master into e2e-ssz-cache * Merge refs/heads/master into e2e-ssz-cache
29 lines
651 B
Go
29 lines
651 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_MinimalConfig(t *testing.T) {
|
|
testutil.ResetCache()
|
|
params.UseMinimalConfig()
|
|
|
|
minimalConfig := &end2EndConfig{
|
|
minimalConfig: true,
|
|
epochsToRun: 5,
|
|
numBeaconNodes: 4,
|
|
enableSSZCache: true,
|
|
numValidators: params.BeaconConfig().MinGenesisActiveValidatorCount,
|
|
evaluators: []ev.Evaluator{
|
|
ev.ValidatorsAreActive,
|
|
ev.ValidatorsParticipating,
|
|
ev.FinalizationOccurs,
|
|
},
|
|
}
|
|
runEndToEndTest(t, minimalConfig)
|
|
}
|