Skip to content

Commit c0a8bf4

Browse files
ethclient: make test less flaky
1 parent e5a41a6 commit c0a8bf4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ethclient/ethclient_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,8 +590,9 @@ func testAtFunctions(t *testing.T, client *rpc.Client) {
590590
}
591591

592592
// send a transaction for some interesting pending status
593+
// and wait for the transaction to be included in the pending block
593594
sendTransaction(ec)
594-
time.Sleep(100 * time.Millisecond)
595+
time.Sleep(1000 * time.Millisecond)
595596

596597
// Check pending transaction count
597598
pending, err := ec.PendingTransactionCount(context.Background())

0 commit comments

Comments
 (0)