Skip to content

Commit

Permalink
Revert "increase timeout to make CI happy"
Browse files Browse the repository at this point in the history
This reverts commit 60583ad.
  • Loading branch information
Wondertan committed May 20, 2021
1 parent e15271a commit a55bf10
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, time.Second, ed25519.GenPrivKey())
dialer := privval.DialTCPFn(addr, 100*time.Millisecond, ed25519.GenPrivKey())
dialerEndpoint := privval.NewSignerDialerEndpoint(
log.TestingLogger(),
dialer,
)
privval.SignerDialerEndpointTimeoutReadWrite(time.Second)(dialerEndpoint)
privval.SignerDialerEndpointTimeoutReadWrite(100 * time.Millisecond)(dialerEndpoint)

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

pvsc := privval.NewSignerServer(
dialerEndpoint,
Expand Down

0 comments on commit a55bf10

Please sign in to comment.