Skip to content

Commit 09177bc

Browse files
committed
fix tests
Signed-off-by: Edward Liang <[email protected]>
1 parent 88f1fcb commit 09177bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

go/integTest/connection_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ func (suite *GlideTestSuite) TestConnectionTimeout() {
119119
var timeoutClient api.BaseClient
120120
var err error
121121
if clusterMode {
122-
timeoutClient, err = suite.createConnectionTimeoutClusterClient(10000, 250)
122+
timeoutClient, err = suite.createConnectionTimeoutClusterClient(10*time.Second, 250*time.Millisecond)
123123
} else {
124-
timeoutClient, err = suite.createConnectionTimeoutClient(10000, 250, backoffStrategy)
124+
timeoutClient, err = suite.createConnectionTimeoutClient(10*time.Second, 250*time.Millisecond, backoffStrategy)
125125
}
126126
assert.NoError(suite.T(), err)
127127
if timeoutClient != nil {

0 commit comments

Comments
 (0)