Skip to content

Commit ad9d258

Browse files
committed
Narrow test disabling to Windows
Signed-off-by: Matt Sicker <[email protected]>
1 parent 47d334d commit ad9d258

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

log4j-core/src/test/java/org/apache/logging/log4j/core/filter/MutableThreadContextMapFilterTest.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@
2424
import org.apache.logging.log4j.test.appender.ListAppender;
2525
import org.junit.jupiter.api.AfterEach;
2626
import org.junit.jupiter.api.Assertions;
27-
import org.junit.jupiter.api.Disabled;
2827
import org.junit.jupiter.api.Test;
28+
import org.junit.jupiter.api.condition.DisabledOnOs;
29+
import org.junit.jupiter.api.condition.OS;
2930

3031
import java.io.File;
3132
import java.io.IOException;
@@ -40,7 +41,7 @@
4041
/**
4142
* Unit test for simple App.
4243
*/
43-
@Disabled("https://issues.apache.org/jira/browse/LOG4J2-3512")
44+
@DisabledOnOs(value = OS.WINDOWS, disabledReason = "https://issues.apache.org/jira/browse/LOG4J2-3512")
4445
public class MutableThreadContextMapFilterTest implements MutableThreadContextMapFilter.FilterConfigUpdateListener {
4546

4647
static final String CONFIG = "log4j2-mutableFilter.xml";

0 commit comments

Comments
 (0)