From c9702c2dbf58301de2f8b3ae54ae28e0c468247b Mon Sep 17 00:00:00 2001 From: Karolos Antoniadis Date: Thu, 28 Sep 2023 15:06:38 +0200 Subject: [PATCH] wait 1 block in gov proposal --- tests/e2e/actions.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/e2e/actions.go b/tests/e2e/actions.go index a5c2a95c62..321507f96d 100644 --- a/tests/e2e/actions.go +++ b/tests/e2e/actions.go @@ -455,7 +455,8 @@ func (tr TestRun) voteGovProposal( } wg.Wait() - time.Sleep(time.Duration(tr.chainConfigs[action.chain].votingWaitTime)*time.Second + 10*time.Second) + time.Sleep(time.Duration(tr.chainConfigs[action.chain].votingWaitTime) * time.Second) + tr.waitBlocks(action.chain, 1, 5*time.Second) } type startConsumerChainAction struct {