Skip to content

Commit

Permalink
Initialize logs for Product Tests
Browse files Browse the repository at this point in the history
Revert?
  • Loading branch information
ssheikin committed Nov 15, 2024
1 parent e2cda4f commit 789b0f3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tempto-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,18 @@
<artifactId>commons-io</artifactId>
</dependency>

<dependency>
<groupId>io.airlift</groupId>
<artifactId>log-manager</artifactId>
<version>275</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>log4j-over-slf4j</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>io.trino.hive</groupId>
<artifactId>hive-apache</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

package io.trino.tempto.internal.listeners;

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

static {
Logging.initialize();
}

private int started;
private int succeeded;
private int failed;
Expand Down

0 comments on commit 789b0f3

Please sign in to comment.