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 committed Feb 2, 2023
1 parent d2f583d commit 5b56238
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 5b56238

Please sign in to comment.