Pluto-syd commented on code in PR #3581:
URL: https://github.com/apache/logging-log4j2/pull/3581#discussion_r2022497237


##########
log4j-core-test/src/test/java/org/apache/logging/log4j/core/ShutdownDisabledTest.java:
##########
@@ -35,6 +35,6 @@ void testShutdownFlag(final Configuration config, final 
LoggerContext ctx) throw
         Field shutdownCallback = 
LoggerContext.class.getDeclaredField("shutdownCallback");
         Object fieldValue = ReflectionUtil.getFieldValue(shutdownCallback, 
ctx);
         assertFalse(config.isShutdownHookEnabled(), "Shutdown hook is 
enabled");
-        assertNull(fieldValue, "Shutdown callback is null");
+        assertNull(fieldValue, "Shutdown callback is not null");

Review Comment:
   Thanks, I'll follow your suggestion



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to