Wrap class setup spans in a trace for another race condition
MODIFY
dd-java-agent/instrumentation/couchbase-2.0/src/test/groovy/springdata/CouchbaseSpringTemplateTest.groovy
dd-java-agent/instrumentation/couchbase-2.0/src/test/groovy/springdata/CouchbaseSpringTemplateTest.groovy
@@ -42,8 +42,11 @@ class CouchbaseSpringTemplateTest extends AbstractCouchbaseTest {
Bucket bucketCouchbase = couchbaseCluster.openBucket(bucketCouchbase.name(), bucketCouchbase.password())
Bucket bucketMemcache = memcacheCluster.openBucket(bucketMemcache.name(), bucketMemcache.password())
+ runUnderTrace("getting info") {
templates = [new CouchbaseTemplate(couchbaseManager.info(), bucketCouchbase),
new CouchbaseTemplate(memcacheManager.info(), bucketMemcache)]
+ blockUntilChildSpansFinished(2)
+ }
}
def cleanupSpec() {

Wrap class setup spans in a trace for another race condition