Closed GoogleCodeExporter closed 9 years ago
There seems to be a work-around:
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
</configuration>
</plugin>
</plugins>
</build>
Original comment by johan.ha...@gmail.com
on 1 Oct 2008 at 9:54
Original comment by jan.kron...@gmail.com
on 16 Oct 2008 at 5:32
The workaround is good enough for now
Original comment by johan.ha...@gmail.com
on 17 Nov 2008 at 12:30
I don't think workaround is good enough. With the work around, I still get the
Unable to get lock on
/home/h_maf/hudson/data/jobs/mplus-services-applications/workspace/mplus_service
s/applications/routing/ServiceEndpointRouter/target/cobertura/cobertura.ser.lock
:
null
This is known to happen on Linux kernel 2.6.20.
Make sure cobertura.jar is in the root classpath of the jvm
process running the instrumented code. If the instrumented code
is running in a web server, this means cobertura.jar should be in
the web server's lib directory.
Don't put multiple copies of cobertura.jar in different WEB-INF/lib directories.
Only one classloader should load cobertura. It should be the root classloader.
Original comment by rohit.c.joshi@gmail.com
on 3 Aug 2009 at 8:31
The workaround is not good enough since it slows our build down from 40s to 14
minutes!! Can someone unfix this issue and suggest a more appropriate solution?
Original comment by galet.mi...@gmail.com
on 3 Dec 2009 at 12:25
I looked into it a year ago and I couldn't find any solution other than this.
It's
quite a known problem if you google for it. If you have any ideas on how to
solve
this please share them with us.
Original comment by johan.ha...@gmail.com
on 3 Dec 2009 at 12:33
[deleted comment]
Ignore my last comment. New issue is here:
http://code.google.com/p/powermock/issues/detail?id=122
Original comment by galet.mi...@gmail.com
on 3 Dec 2009 at 12:47
Take a look at issue 122 here as there is a simple fix for this:
http://code.google.com/p/powermock/issues/detail?id=122#c5
Original comment by annihil...@gmail.com
on 12 Feb 2010 at 10:19
This is excellent news. Thank you so much!
Original comment by johan.ha...@gmail.com
on 12 Feb 2010 at 10:30
Original issue reported on code.google.com by
johan.ha...@gmail.com
on 1 Oct 2008 at 7:13