Skip to content

Commit 65e1b7a

Browse files
committed
increase pending nonce timeout (1 minute sometimes fails in Anvil)
1 parent b3a1420 commit 65e1b7a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

seth/util_test.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package seth_test
33
import (
44
"context"
55
"errors"
6-
"fmt"
76
"math/big"
87
"sync"
98
"testing"
@@ -144,7 +143,7 @@ func TestUtilPendingNonce(t *testing.T) {
144143
{
145144
name: "processes all in time",
146145
keyNum: 0,
147-
timeout: 1 * time.Minute,
146+
timeout: 2 * time.Minute,
148147
shouldFail: false,
149148
},
150149
{
@@ -155,8 +154,6 @@ func TestUtilPendingNonce(t *testing.T) {
155154
},
156155
}
157156

158-
fmt.Printf("RPC Url: %s\n", c.Cfg.MustFirstNetworkURL())
159-
160157
for _, testCase := range tests {
161158
started := make(chan struct{})
162159
ctx, cancelFn := context.WithTimeout(context.Background(), 10*time.Second)

0 commit comments

Comments
 (0)