garydgregory commented on PR #757:
URL: https://github.com/apache/commons-io/pull/757#issuecomment-3038902543
@JoergBudi
One of the new test is unstable:
```
[INFO] Running org.apache.commons.io.input.TailerTest
Error: Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
22.21 s <<< FAILURE! -- in org.apache.commons.io.input.TailerTest
Error: org.apache.commons.io.input.TailerTest.testTailerReissueOnTouch --
Time elapsed: 1.409 s <<< FAILURE!
org.opentest4j.AssertionFailedError: 1 line count ==> expected: <1> but was:
<0>
at
org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at
org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
at
org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
at
org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150)
at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:563)
at
org.apache.commons.io.input.TailerTest.testTailerReissueOnTouch(TailerTest.java:644)
at java.lang.reflect.Method.invoke(Method.java:498)
at java.util.ArrayList.forEach(ArrayList.java:1259)
at java.util.ArrayList.forEach(ArrayList.java:1259)
```
Please see if you can re-write it with a count-down latch, or another sync
technique.
TY!
--
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]