From 58d635621b63123cedbeb02557ddac617ab32337 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20Kokosi=C5=84ski?= Date: Mon, 13 Mar 2023 16:52:42 +0100 Subject: [PATCH] Log impacted features This is helpful in CI to understand the context on how tests are executed. Impacted features are passed as a log file and then they are passed from suite to test run, so logging them here make sure if everything is passed correctly. --- .../main/java/io/trino/tests/product/launcher/cli/TestRun.java | 1 + 1 file changed, 1 insertion(+) diff --git a/testing/trino-product-tests-launcher/src/main/java/io/trino/tests/product/launcher/cli/TestRun.java b/testing/trino-product-tests-launcher/src/main/java/io/trino/tests/product/launcher/cli/TestRun.java index e11d4630206b..b9295b8b0dae 100644 --- a/testing/trino-product-tests-launcher/src/main/java/io/trino/tests/product/launcher/cli/TestRun.java +++ b/testing/trino-product-tests-launcher/src/main/java/io/trino/tests/product/launcher/cli/TestRun.java @@ -203,6 +203,7 @@ public Execution(EnvironmentFactory environmentFactory, EnvironmentOptions envir if (impactedFeaturesFile.isPresent()) { try { this.impactedFeatures = Optional.of(Files.asCharSource(impactedFeaturesFile.get(), StandardCharsets.UTF_8).readLines()); + log.info("Impacted features: %s", this.impactedFeatures); } catch (IOException e) { throw new RuntimeException(e);