This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch release-2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/release-2.x by this push:
new 5d2f1fa Add an assertion with message for a test that fails when run
as part of running the whole package from Eclipse.
5d2f1fa is described below
commit 5d2f1fa69ddc3dddb70db23daae39dfeb5b3f7b5
Author: Gary Gregory <[email protected]>
AuthorDate: Wed Nov 11 12:22:45 2020 -0500
Add an assertion with message for a test that fails when run as part of
running the whole package from Eclipse.
---
.../logging/log4j/core/config/CompositeConfigurationMissingTest.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/log4j-core/src/test/java/org/apache/logging/log4j/core/config/CompositeConfigurationMissingTest.java
b/log4j-core/src/test/java/org/apache/logging/log4j/core/config/CompositeConfigurationMissingTest.java
index 81e6b80..051799b 100644
---
a/log4j-core/src/test/java/org/apache/logging/log4j/core/config/CompositeConfigurationMissingTest.java
+++
b/log4j-core/src/test/java/org/apache/logging/log4j/core/config/CompositeConfigurationMissingTest.java
@@ -42,6 +42,7 @@ public class CompositeConfigurationMissingTest {
//Test for no cat2 level override
final LoggerConfig cat2 = config.getLogger("cat2");
+ assertNotNull(cat2, "cat2");
assertEquals(Level.DEBUG, cat2.getLevel(), "Expected cat2 log level to
be INFO");
}
}