Skip to content

Commit

Permalink
increase timeout to make CI happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Wondertan committed May 18, 2021
1 parent 9bfe2d6 commit 60583ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions node/node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,12 @@ func TestNodeSetPrivValTCP(t *testing.T) {
defer os.RemoveAll(config.RootDir)
config.BaseConfig.PrivValidatorListenAddr = addr

dialer := privval.DialTCPFn(addr, 100*time.Millisecond, ed25519.GenPrivKey())
dialer := privval.DialTCPFn(addr, time.Second, ed25519.GenPrivKey())
dialerEndpoint := privval.NewSignerDialerEndpoint(
log.TestingLogger(),
dialer,
)
privval.SignerDialerEndpointTimeoutReadWrite(100 * time.Millisecond)(dialerEndpoint)
privval.SignerDialerEndpointTimeoutReadWrite(time.Second)(dialerEndpoint)

signerServer := privval.NewSignerServer(
dialerEndpoint,
Expand Down Expand Up @@ -193,7 +193,7 @@ func TestNodeSetPrivValIPC(t *testing.T) {
log.TestingLogger(),
dialer,
)
privval.SignerDialerEndpointTimeoutReadWrite(100 * time.Millisecond)(dialerEndpoint)
privval.SignerDialerEndpointTimeoutReadWrite(time.Second)(dialerEndpoint)

pvsc := privval.NewSignerServer(
dialerEndpoint,
Expand Down

0 comments on commit 60583ad

Please sign in to comment.