java.lang.Exception: test timed out after 20000 milliseconds
at org.junit.interrnal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:66)
The occurrence frequency of the failure is very low: less than one in 100 runs.
From the produced logs, it appears that it is not the test itself that fails, but rather something during the shutdown and cleanup operations after the test. My primary suspect is tied to the specificiy of this test method, which starts 2 slave nodes in addition to the 2 master nodes specified in the test configuration.
This was observed in JPPF trunk and in 6.2 branch.
How to reproduce
Build JPPF (ant build from th elocal repo root)
go to the tests folder, run the test 1000 times, and wait until the failure occurs. Use the following command:
on Windows: repeatTest.bat **/TestGridPolicy.java 1000
on Linux/Unix: ./repeatTest.sh **/TestGridPolicy.java 1000
Observed behavior
The test method
TestGridPolicy.testWorkingFalseJavaPolicy()
fails intemrittently with this stack reported by JUnit:The occurrence frequency of the failure is very low: less than one in 100 runs.
From the produced logs, it appears that it is not the test itself that fails, but rather something during the shutdown and cleanup operations after the test. My primary suspect is tied to the specificiy of this test method, which starts 2 slave nodes in addition to the 2 master nodes specified in the test configuration.
This was observed in JPPF trunk and in 6.2 branch.
How to reproduce
ant build
from th elocal repo root)repeatTest.bat **/TestGridPolicy.java 1000
./repeatTest.sh **/TestGridPolicy.java 1000
Full set of logs of a failure is attached here: test.org.jppf.node.policy.TestGridPolicy.zip