Closed cronopioelectronico closed 3 years ago
Hi @cronopioelectronico, thanks for the bug report! I'm able to reproduce the failing unit test using Java 11. I'll have a look. Note: using Java 8 all tests pass.
Great, thanks for replying so fast @sebastian-nagel!
Hi @cronopioelectronico, the reason was trivial: the unit test was based on the assumption that after 500ms the matching thread was still running. Looks like there are some performance improvements and running a thread and do the matching takes less than 32ms on JDK 11 (on my hardware):
Running org.archive.util.InterruptibleCharSequenceTest
already done, retrying with shorter sleep time: 256ms
already done, retrying with shorter sleep time: 128ms
already done, retrying with shorter sleep time: 64ms
already done, retrying with shorter sleep time: 32ms
already done, retrying with shorter sleep time: 16ms
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.013 sec
See 8accf19 for more details. Please update and retry to build. Thanks again!
Works like a charm @sebastian-nagel, thanks!
Hi,
when installing through:
I get the error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project ia-web-commons: There are test failures.
and the following content of the file
target/surefire-reports/org.archive.util.InterruptibleCharSequenceTest.txt
I am trying the installation on the following system:
Thanks!