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 6e9a7affb07d..94a16513f4e7 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 @@ -800,7 +800,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(); }