Wrap class setup spans in a trace for another race condition
@@ -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() {
