Skip the mainnet config slow tests

This commit is contained in:
Hsiao-Wei Wang 2021-05-12 13:02:15 +08:00
parent dad698f97a
commit 17820e3711
No known key found for this signature in database
GPG Key ID: 1111A8A81778319E
1 changed files with 7 additions and 0 deletions

View File

@ -8,8 +8,12 @@ from eth2spec.utils import bls
from eth2spec.utils.bls import only_with_bls
from eth2spec.test.context import (
with_altair_and_later,
with_configs,
with_state,
)
from eth2spec.test.helpers.constants import (
MINIMAL,
)
rng = random.Random(1337)
@ -91,6 +95,7 @@ def _get_sync_committee_signature(
@only_with_bls()
@with_altair_and_later
@with_configs([MINIMAL], reason="too slow")
@with_state
def test_process_sync_committee_contributions(phases, spec, state):
# skip over slots at genesis
@ -151,6 +156,7 @@ def _get_expected_subnets_by_pubkey(sync_committee_members):
@with_altair_and_later
@with_configs([MINIMAL], reason="too slow")
@with_state
def test_compute_subnets_for_sync_committee(state, spec, phases):
# 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_configs([MINIMAL], reason="too slow")
@with_state
def test_compute_subnets_for_sync_committee_slot_period_boundary(state, spec, phases):
# Transition to the end of the period