You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by pk...@apache.org on 2022/04/24 18:41:15 UTC
[logging-log4j2] branch master updated: Fix failing test
This is an automated email from the ASF dual-hosted git repository.
pkarwasz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/master by this push:
new f951d93730 Fix failing test
f951d93730 is described below
commit f951d9373093fed937bb7a51c84d9d74a166def6
Author: Piotr P. Karwasz <pi...@karwasz.org>
AuthorDate: Sun Apr 24 20:40:55 2022 +0200
Fix failing test
---
log4j-jul/src/test/java/org/apache/logging/log4j/jul/ApiLoggerTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/log4j-jul/src/test/java/org/apache/logging/log4j/jul/ApiLoggerTest.java b/log4j-jul/src/test/java/org/apache/logging/log4j/jul/ApiLoggerTest.java
index 942b70afbd..aafd287871 100644
--- a/log4j-jul/src/test/java/org/apache/logging/log4j/jul/ApiLoggerTest.java
+++ b/log4j-jul/src/test/java/org/apache/logging/log4j/jul/ApiLoggerTest.java
@@ -82,7 +82,7 @@ public class ApiLoggerTest extends AbstractLoggerTest {
logger.setParent(null);
}
- @Test(expected = UnsupportedOperationException.class)
+ @Test
public void testSetLevelFails() throws Exception {
logger.setLevel(null);
}