From 210afc9875e424f7c74eeb3a766273dae40c5e7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Eckel?= Date: Fri, 8 Mar 2024 10:57:05 +0100 Subject: [PATCH] added wait for another block to have more reliable tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Eckel --- tests/e2e/dao/pop_participant_selection_suite.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/e2e/dao/pop_participant_selection_suite.go b/tests/e2e/dao/pop_participant_selection_suite.go index 87fa425..933a607 100644 --- a/tests/e2e/dao/pop_participant_selection_suite.go +++ b/tests/e2e/dao/pop_participant_selection_suite.go @@ -297,7 +297,8 @@ func (s *PopSelectionE2ETestSuite) TestTokenRedeemClaim() { s.Require().NoError(err) s.Require().Equal(int(0), int(txResponse.Code)) - // WaitForBlock before query + // WaitForBlock before query (2 blocks since 3 validators) + s.Require().NoError(s.network.WaitForNextBlock()) s.Require().NoError(s.network.WaitForNextBlock()) // QueryRedeemClaim