Skip to content

Commit 7affc5d

Browse files
committed
small fixes for long running tests
1 parent f5bb078 commit 7affc5d

2 files changed

Lines changed: 22 additions & 14 deletions

File tree

playbooks/pectra-dev/eip7251-all.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1026,7 +1026,7 @@ tasks:
10261026
# check if key 13 is exited
10271027
- name: check_consensus_validator_status
10281028
title: "Check if key 13 is exited"
1029-
timeout: 5m
1029+
timeout: 4h
10301030
config:
10311031
validatorStatus:
10321032
- exited_unslashed

playbooks/pectra-dev/validator-lifecycle-test-v3.yaml

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,27 @@ tasks:
615615
configVars:
616616
expectConsolidationRequests: "| [{sourceAddress: .tasks.depositor_wallet.outputs.childWallet.address, sourcePubkey: .tasks.all_pubkeys.outputs.pubkeys[5]}]"
617617

618+
# wait for exitability
619+
- name: run_tasks
620+
title: "Wait for validators to be exitable (${{ tasks.get_specs.outputs.specs.SHARD_COMMITTEE_PERIOD }} epochs)"
621+
config:
622+
stopChildOnResult: true
623+
tasks:
624+
- name: check_consensus_validator_status
625+
title: "Get validator info for last key"
626+
id: last_validator_info
627+
timeout: 1m
628+
config:
629+
validatorStatus:
630+
- active_ongoing
631+
configVars:
632+
validatorPubKey: "tasks.all_pubkeys.outputs.pubkeys[-1]"
633+
- name: check_consensus_slot_range
634+
title: "Wait for validators to be exitable (epoch >= ${{ |(.tasks.last_validator_info.outputs.validator.validator.activation_epoch | tonumber) + (.tasks.get_specs.outputs.specs.SHARD_COMMITTEE_PERIOD | tonumber) }})"
635+
timeout: 28h # 256 epochs = ~27.3h
636+
configVars:
637+
minEpochNumber: "|(.tasks.last_validator_info.outputs.validator.validator.activation_epoch | tonumber) + (.tasks.get_specs.outputs.specs.SHARD_COMMITTEE_PERIOD | tonumber)"
638+
618639
- name: run_task_background
619640
title: "Generate consolidations & track inclusion"
620641
config:
@@ -797,19 +818,6 @@ tasks:
797818
# index 8: active 64 ETH (64 ETH EB), 0x02 withdrawal creds
798819
# index 9: active 64 ETH (64 ETH EB), 0x02 withdrawal creds
799820

800-
# wait for withdrawability
801-
- name: run_tasks
802-
title: "Wait for validators to be withdrawable (${{ tasks.get_specs.outputs.specs.SHARD_COMMITTEE_PERIOD }} epochs)"
803-
config:
804-
stopChildOnResult: true
805-
tasks:
806-
- name: check_consensus_slot_range
807-
title: "Wait for validators to be withdrawable (epoch >= ${{ |(.tasks.validator_info_7.outputs.validator.validator.activation_epoch | tonumber) + (.tasks.get_specs.outputs.specs.SHARD_COMMITTEE_PERIOD | tonumber) }})"
808-
timeout: 28h # 256 epochs = ~27.3h
809-
configVars:
810-
minEpochNumber: "|(.tasks.validator_info_7.outputs.validator.validator.activation_epoch | tonumber) + (.tasks.get_specs.outputs.specs.SHARD_COMMITTEE_PERIOD | tonumber)"
811-
812-
813821
##
814822
## STEP 4: generate el triggered withdrawals & wait for inclusion
815823
##

0 commit comments

Comments
 (0)