From 23378f87103178130c93b92e04214c7e20561935 Mon Sep 17 00:00:00 2001 From: Geoff Stuart Date: Wed, 4 May 2022 15:48:44 -0400 Subject: [PATCH] Fix flaky test --- itests/gateway_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/itests/gateway_test.go b/itests/gateway_test.go index d5bc9c0eb8e..249112b1fa0 100644 --- a/itests/gateway_test.go +++ b/itests/gateway_test.go @@ -138,8 +138,8 @@ func TestGatewayWalletMsig(t *testing.T) { //stm: @CHAIN_STATE_MINER_AVAILABLE_BALANCE_001 msigBalance, err := lite.MsigGetAvailableBalance(ctx, msig, types.EmptyTSK) require.NoError(t, err) - require.Greater(t, msigBalance.Int64(), int64(0)) - require.Less(t, msigBalance.Int64(), amt.Int64()) + require.GreaterOrEqual(t, msigBalance.Int64(), int64(0)) + require.LessOrEqual(t, msigBalance.Int64(), amt.Int64()) // Propose to add a new address to the msig proto, err = lite.MsigAddPropose(ctx, msig, walletAddrs[0], walletAddrs[3], false)