Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.core.LoggerContext;
import org.apache.logging.log4j.core.appender.RollingFileAppender;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;

public class TelemetryDevTracerTestSupport extends ExchangeTestSupport {

Expand Down Expand Up @@ -61,7 +61,7 @@ protected Map<String, DevTrace> tracesFromLog() throws IOException {
* This one is required to rollover the log traces database file and make sure each test has its own
* set of fresh data.
*/
@AfterEach
@BeforeEach
public synchronized void clearLogTraces() throws IOException {
final LoggerContext ctx = (LoggerContext) LogManager.getContext(false);
RollingFileAppender appender = (RollingFileAppender) ctx.getConfiguration().getAppenders().get("file2");
Expand Down
Loading