diff --git a/testing/trino-testing/src/main/java/io/trino/testing/DistributedQueryRunner.java b/testing/trino-testing/src/main/java/io/trino/testing/DistributedQueryRunner.java index 4776bb767f7c..28c7553364f4 100644 --- a/testing/trino-testing/src/main/java/io/trino/testing/DistributedQueryRunner.java +++ b/testing/trino-testing/src/main/java/io/trino/testing/DistributedQueryRunner.java @@ -817,7 +817,7 @@ protected SELF self() public DistributedQueryRunner build() throws Exception { - String tracingEnabled = firstNonNull(getenv("TRACING"), "false"); + String tracingEnabled = firstNonNull(getenv("TESTS_TRACING_ENABLED"), "false"); if (parseBoolean(tracingEnabled) || tracingEnabled.equals("1")) { withTracing(); }