Skip to content

Commit f20bdf0

Browse files
committed
Initialize logs for Product Tests
Revert?
1 parent e2cda4f commit f20bdf0

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

tempto-core/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,12 @@
6767
<artifactId>commons-io</artifactId>
6868
</dependency>
6969

70+
<dependency>
71+
<groupId>io.airlift</groupId>
72+
<artifactId>log-manager</artifactId>
73+
<version>284</version>
74+
</dependency>
75+
7076
<dependency>
7177
<groupId>io.trino.hive</groupId>
7278
<artifactId>hive-apache</artifactId>

tempto-core/src/main/java/io/trino/tempto/internal/listeners/ProgressLoggingListenerJUnit.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
package io.trino.tempto.internal.listeners;
1616

17+
import io.airlift.log.Logging;
1718
import org.junit.jupiter.api.extension.AfterAllCallback;
1819
import org.junit.jupiter.api.extension.AfterEachCallback;
1920
import org.junit.jupiter.api.extension.BeforeAllCallback;
@@ -33,6 +34,10 @@ public class ProgressLoggingListenerJUnit
3334
{
3435
private final static Logger LOGGER = LoggerFactory.getLogger(ProgressLoggingListenerJUnit.class);
3536

37+
static {
38+
Logging.initialize();
39+
}
40+
3641
private int started;
3742
private int succeeded;
3843
private int failed;

0 commit comments

Comments
 (0)