From 0b65f79234584bd37ccf3b7320af4397714d0461 Mon Sep 17 00:00:00 2001 From: pk910 Date: Wed, 11 Sep 2024 18:00:42 +0200 Subject: [PATCH] `validator-lifecycle-test`: cancel deposit inclusion check when deposit inclusion from voting period ended --- playbooks/dev/validator-lifecycle-test.yaml | 48 ++++++++++++++------- 1 file changed, 33 insertions(+), 15 deletions(-) diff --git a/playbooks/dev/validator-lifecycle-test.yaml b/playbooks/dev/validator-lifecycle-test.yaml index 740e2c47..67675cfa 100644 --- a/playbooks/dev/validator-lifecycle-test.yaml +++ b/playbooks/dev/validator-lifecycle-test.yaml @@ -28,26 +28,44 @@ tasks: walletPrivkey: "walletPrivkey" mnemonic: "validatorMnemonic" - - name: run_task_options - title: "Check deposit inclusion" + - name: run_task_background + title: "Check deposit inclusion with all client pairs" config: - ignoreFailure: true - task: - name: run_task_matrix - title: "Check deposit inclusion with all client pairs" - timeout: 48h - configVars: - matrixValues: "validatorPairNames" + onBackgroundComplete: succeed + backgroundTask: + name: run_tasks + title: "Await end of next deposit voting period" + config: + tasks: + - name: check_consensus_block_proposals + title: "Wait for block proposal with deposits (start of deposit inclusion)" + config: + minDepositCount: 1 + - name: check_consensus_block_proposals + title: "Wait for block proposal without deposits (end of deposit inclusion)" + config: + minDepositCount: 1 + foregroundTask: + name: run_task_options + title: "Check deposit inclusion" config: - runConcurrent: true - matrixVar: "validatorPairName" + ignoreFailure: true task: - name: check_consensus_block_proposals - title: "Wait for block proposal with deposits from ${validatorPairName}" + name: run_task_matrix + title: "Check deposit inclusion with all client pairs" + timeout: 48h configVars: - validatorNamePattern: "validatorPairName" + matrixValues: "validatorPairNames" config: - minDepositCount: 1 + runConcurrent: true + matrixVar: "validatorPairName" + task: + name: check_consensus_block_proposals + title: "Wait for block proposal with deposits from ${validatorPairName}" + configVars: + validatorNamePattern: "validatorPairName" + config: + minDepositCount: 1 # due to the deposits we should reach un-finality soon. - name: check_consensus_validator_status