ramanathan1504 commented on code in PR #4461:
URL: https://github.com/apache/logging-log4j2/pull/4461#discussion_r4488783874
##########
log4j-core-test/src/test/java/org/apache/logging/log4j/core/pattern/EncodingPatternConverterTest.java:
##########
@@ -120,4 +121,40 @@ void testHandlesThrowable() {
assertTrue(EncodingPatternConverter.newInstance(configuration, new
String[] {"%ex", "XML"})
.handlesThrowable());
}
+
+ @Test
+ @Timeout(2)
Review Comment:
The code before this fix also finishes this input in well under two seconds,
so the timeout passes either way and only adds timing to the test. Can we drop
it, and the `Timeout` import with it?
```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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]