Skip to content

Commit

Permalink
fix: increase timeout for test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Woosang Son committed Nov 2, 2020
1 parent a1d8c1a commit ef029a8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions privval/signer_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,6 @@ func brokenHandler(privVal types.PrivValidator, request SignerMessage, chainID s

func TestSignerUnexpectedResponse(t *testing.T) {
for _, tc := range getSignerTestCases(t) {
tc.signerServer.privVal = types.NewMockPV()
tc.mockPV = types.NewMockPV()

tc.signerServer.SetRequestHandler(brokenHandler)

Expand Down
2 changes: 1 addition & 1 deletion privval/signer_listener_endpoint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
var (
testTimeoutAccept = defaultTimeoutAcceptSeconds * time.Second

testTimeoutReadWrite = 100 * time.Millisecond
testTimeoutReadWrite = 1000 * time.Millisecond // increase timeout for slow test env
testTimeoutReadWrite2o3 = 60 * time.Millisecond // 2/3 of the other one
)

Expand Down

0 comments on commit ef029a8

Please sign in to comment.