nmcl/JavaSim

mvn test periodically hangs

nmcl opened this issue · 2 comments

nmcl commented

Java 11 but doesn't on /tmp (so could be race condition) ...

Running org.javasim.tests.examples.interrupt.InterruptExampleUnitTest

...

150.74187297734838
85.80351397412154
112.97380052084
-1.0
^C
Results :

Tests run: 18, Failures: 0, Errors: 0, Skipped: 0


Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.javasim.tests.examples.stats.StatsExampleUnitTest
Running org.javasim.tests.examples.basic.BasicExampleUnitTest
0.0
0.0
1000.0
5.6656296967562945
0.0
1000.0

nmcl commented

Also on Java 9 ...

Variance : 3.96432784415252
Standard Deviation: 1.9910619890280965
Number of samples : 1000
Minimum : 93.57982250952676
Maximum : 105.47302713303169
Sum : 100048.53236887172
Mean : 100.04853236887172
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec - in org.javasim.tests.examples.streams.StreamsExampleUnitTest
Running org.javasim.tests.examples.basic.BasicExampleUnitTest