Skip to content

Commit 93d0d03

Browse files
committed
Log number of live query runner instances
On CI we observe that sometimes tests create much higher than expected number of query runner instances and then often fail (too many resources taken or too many tests running in parallel). Logging this number helps attribute CI failure to this cause.
1 parent a5b778d commit 93d0d03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/trino-testing/src/main/java/io/trino/testing/DistributedQueryRunner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ private DistributedQueryRunner(
218218
this.trinoClient = closer.register(testingTrinoClientFactory.create(coordinator, defaultSession));
219219

220220
ensureNodesGloballyVisible();
221-
log.debug("Created DistributedQueryRunner in %s (unclosed instances = %s)", nanosSince(start), unclosedInstances.incrementAndGet());
221+
log.info("Created DistributedQueryRunner in %s (unclosed instances = %s)", nanosSince(start), unclosedInstances.incrementAndGet());
222222
}
223223

224224
private TestingTrinoServer createServer(

0 commit comments

Comments
 (0)