From c26687909b66608528c09ede8f8618cdeb403a19 Mon Sep 17 00:00:00 2001 From: EclesioMeloJunior Date: Wed, 1 Feb 2023 21:34:35 -0400 Subject: [PATCH] fix: ensure the numbers are greater or equal at `TestChainSubscriptionRPC/chain_subscribeNewHeads` --- tests/rpc/rpc_03-chain_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/rpc/rpc_03-chain_test.go b/tests/rpc/rpc_03-chain_test.go index 183bfe9dda..344bfb1790 100644 --- a/tests/rpc/rpc_03-chain_test.go +++ b/tests/rpc/rpc_03-chain_test.go @@ -162,7 +162,7 @@ func TestChainSubscriptionRPC(t *testing.T) { //nolint:tparallel result := getResultMapFromParams(t, params) number := getResultNumber(t, result) - assert.Equal(t, uint(i+1), number) + assert.GreaterOrEqual(t, uint(i+1), number) assertResult32BHex(t, result, "parentHash") assertResult32BHex(t, result, "stateRoot")