Skip the mainnet config slow tests
This commit is contained in:
parent
dad698f97a
commit
17820e3711
|
@ -8,8 +8,12 @@ from eth2spec.utils import bls
|
||||||
from eth2spec.utils.bls import only_with_bls
|
from eth2spec.utils.bls import only_with_bls
|
||||||
from eth2spec.test.context import (
|
from eth2spec.test.context import (
|
||||||
with_altair_and_later,
|
with_altair_and_later,
|
||||||
|
with_configs,
|
||||||
with_state,
|
with_state,
|
||||||
)
|
)
|
||||||
|
from eth2spec.test.helpers.constants import (
|
||||||
|
MINIMAL,
|
||||||
|
)
|
||||||
|
|
||||||
rng = random.Random(1337)
|
rng = random.Random(1337)
|
||||||
|
|
||||||
|
@ -91,6 +95,7 @@ def _get_sync_committee_signature(
|
||||||
|
|
||||||
@only_with_bls()
|
@only_with_bls()
|
||||||
@with_altair_and_later
|
@with_altair_and_later
|
||||||
|
@with_configs([MINIMAL], reason="too slow")
|
||||||
@with_state
|
@with_state
|
||||||
def test_process_sync_committee_contributions(phases, spec, state):
|
def test_process_sync_committee_contributions(phases, spec, state):
|
||||||
# skip over slots at genesis
|
# skip over slots at genesis
|
||||||
|
@ -151,6 +156,7 @@ def _get_expected_subnets_by_pubkey(sync_committee_members):
|
||||||
|
|
||||||
|
|
||||||
@with_altair_and_later
|
@with_altair_and_later
|
||||||
|
@with_configs([MINIMAL], reason="too slow")
|
||||||
@with_state
|
@with_state
|
||||||
def test_compute_subnets_for_sync_committee(state, spec, phases):
|
def test_compute_subnets_for_sync_committee(state, spec, phases):
|
||||||
# Transition to the head of the next period
|
# Transition to the head of the next period
|
||||||
|
@ -179,6 +185,7 @@ def test_compute_subnets_for_sync_committee(state, spec, phases):
|
||||||
|
|
||||||
|
|
||||||
@with_altair_and_later
|
@with_altair_and_later
|
||||||
|
@with_configs([MINIMAL], reason="too slow")
|
||||||
@with_state
|
@with_state
|
||||||
def test_compute_subnets_for_sync_committee_slot_period_boundary(state, spec, phases):
|
def test_compute_subnets_for_sync_committee_slot_period_boundary(state, spec, phases):
|
||||||
# Transition to the end of the period
|
# Transition to the end of the period
|
||||||
|
|
Loading…
Reference in New Issue