diff --git a/e2e/localnet/network/load_test.go b/e2e/localnet/network/load_test.go index bc0dbd2cf..2f6b04a90 100644 --- a/e2e/localnet/network/load_test.go +++ b/e2e/localnet/network/load_test.go @@ -59,7 +59,8 @@ var _ = Describe("evm load testing", func() { )) Expect(tf).ToNot(BeNil()) } - tf.WaitForNextBlock() + // Wait for the next block. + Expect(tf.WaitForNextBlock()).ToNot(HaveOccurred()) // Check to make sure "alice" has balance to complete the test. balance, err := tf.EthClient().BalanceAt(context.Background(), tf.Address("alice"), nil) Expect(err).ToNot(HaveOccurred())