Merge pull request #553 from DataDog/mar-kolya/increase-couchbase-timeout

Increase couchbase timeout
This commit is contained in:
Nikolay Martynov 2018-10-26 17:22:42 -04:00 committed by GitHub
commit 428a0bf66e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -115,7 +115,8 @@ abstract class AbstractCouchbaseTest extends AgentTestRunner {
}
private DefaultCouchbaseEnvironment.Builder envBuilder(BucketSettings bucketSettings) {
def timeout = TimeUnit.SECONDS.toMillis(10)
// Couchbase seems to be really slow to start sometimes
def timeout = TimeUnit.SECONDS.toMillis(20)
return DefaultCouchbaseEnvironment.builder()
.bootstrapCarrierDirectPort(mock.getCarrierPort(bucketSettings.name()))
.bootstrapHttpDirectPort(port)