On Tuesday 28 October 2014 20:57:40 Carsten Ziegeler wrote: > Am 28.10.14 um 17:22 schrieb Apache Jenkins Server: > > See > > <https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apac > > he.sling.event/381/> > > This is a sporadic problem with Java 8 - it seems when a new Pax Exam > test starts, the old one isn't finished yet as the port is still in use > and the repository is locked. > > Does anyone have a good idea how to workaround this problem or let pax > wait until really all threads are finished?
Something like KarafTestSupport#findFreePort() should help. https://svn.apache.org/repos/asf/sling/trunk/contrib/launchpad/karaf/org.apache.sling.launchpad.karaf- integration- tests/src/main/java/org/apache/sling/launchpad/karaf/testing/KarafTestSupport.java I've limited network access and time right now but can look at it next week when back at the office. O. > Or even better, can anyone reproduce this locally so we could get a > thread dump? > > Carsten