-- Addin a Thread.sleep(100000) in one test which gets interrupted
ending up with 1 failing test but allowing me to get the coverage.

Here we go: If the Thread.sleep() gets interrupted then your main thread is in interrupted state! This will trigger the JDK bug.

So I really recommend to investigate why your tests put the main thread in interrupted state.

Regards,
-marc



On 2017-09-12 21:19, [email protected] wrote:
Hello Marc and Evgeny

you may be right about the JDK bug.

I updated my JDK just to make sure it wasn't it, still had the problem.

I managed to get the coverage by doing either of those 2 options :

-- Pressing stop button in eclipse near the end of the run
-- Addin a Thread.sleep(100000) in one test which gets interrupted
ending up with 1 failing test but allowing me to get the coverage.

so it's probably the racing condition of
https://bugs.openjdk.java.net/browse/JDK-8154017 that happenned

--
You received this message because you are subscribed to the Google Groups "JaCoCo 
and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/c8ed1a94c6a261c489d933c82fa2133f%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to