Skip to content

Commit

Permalink
fix(tests/rpc): flaky test `TestChainSubscriptionRPC/chain_subscribeN…
Browse files Browse the repository at this point in the history
…ewHeads` (#3092)
  • Loading branch information
EclesioMeloJunior authored and edwardmack committed Feb 4, 2023
1 parent b9d4ea1 commit 99e627d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/rpc/rpc_03-chain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 99e627d

Please sign in to comment.