Commit 923a01ad authored by mergify[bot]'s avatar mergify[bot] Committed by GitHub

Merge pull request #4432 from ethereum-optimism/jg/fix_mock_p2p

Stop TestSystemMockP2P from flaking
parents ceb82a0a 82de25b2
......@@ -577,7 +577,7 @@ func TestSystemMockP2P(t *testing.T) {
// Verify that everything that was received was published
require.GreaterOrEqual(t, len(published), len(received))
require.Equal(t, received, published[:len(received)])
require.ElementsMatch(t, received, published[:len(received)])
// Verify that the tx was received via p2p
require.Contains(t, received, receiptVerif.BlockHash)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment