From 2460d46eba720a421fe28255973b75bc0f745dd0 Mon Sep 17 00:00:00 2001 From: Piotr Findeisen Date: Tue, 20 Dec 2022 09:35:05 +0100 Subject: [PATCH] Fix test configuration method duplicated logging Before the change it would log something like > [CONFIGURATION] TestOrcPageSourceMemoryTracking.setUp()[pri:0, > instance:io.trino.plugin.hive.TestOrcPageSourceMemoryTracking@7ef9c8a5] > 2130299045 for > io.trino.plugin.hive.TestOrcPageSourceMemoryTracking.setUp --- .../java/io/trino/testng/services/ProgressLoggingListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/trino-testing-services/src/main/java/io/trino/testng/services/ProgressLoggingListener.java b/testing/trino-testing-services/src/main/java/io/trino/testng/services/ProgressLoggingListener.java index 8ad1e94176fd..cf5c734d9859 100644 --- a/testing/trino-testing-services/src/main/java/io/trino/testng/services/ProgressLoggingListener.java +++ b/testing/trino-testing-services/src/main/java/io/trino/testng/services/ProgressLoggingListener.java @@ -69,7 +69,7 @@ public void beforeInvocation(IInvokedMethod method, ITestResult testResult) LOGGER.info("[TEST START] %s", formatTestName(testResult)); } if (configurationMethod) { - LOGGER.info("[CONFIGURATION] %s for %s", method, formatTestName(testResult)); + LOGGER.info("[CONFIGURATION] %s", method); } if (!testMethod && !configurationMethod) { LOGGER.info("[UNKNOWN THING] %s for %s", method, formatTestName(testResult));