From a9c5d0a5a558ebe5dda946f719c0101d460f8065 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Eckel?= Date: Fri, 5 Apr 2024 15:48:33 +0200 Subject: [PATCH] added another waiting block to ensuer the tx went through (multi threading issue, race condition) during tests this failed sometimes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Eckel --- tests/e2e/dao/gas/gas_consumption_suite.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/e2e/dao/gas/gas_consumption_suite.go b/tests/e2e/dao/gas/gas_consumption_suite.go index f167d51..5ee6de7 100644 --- a/tests/e2e/dao/gas/gas_consumption_suite.go +++ b/tests/e2e/dao/gas/gas_consumption_suite.go @@ -132,6 +132,7 @@ func (s *ConsumptionE2ETestSuite) TestNonValidatorConsumptionOverflow() { out, err := lib.BroadcastTxWithFileLock(addr, msgs...) s.Require().NoError(err) + s.Require().NoError(s.network.WaitForNextBlock()) s.Require().NoError(s.network.WaitForNextBlock()) _, err = clitestutil.GetRawLogFromTxOut(val, out)