Giter VIP home page Giter VIP logo

Comments (10)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 15, 2024
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 [email protected] on 1 Oct 2008 at 9:54

from powermock.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 15, 2024

Original comment by [email protected] on 16 Oct 2008 at 5:32

  • Added labels: Priority-Low
  • Removed labels: Priority-Critical

from powermock.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 15, 2024
The workaround is good enough for now

Original comment by [email protected] on 17 Nov 2008 at 12:30

  • Changed state: Fixed

from powermock.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 15, 2024
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 [email protected] on 3 Aug 2009 at 8:31

from powermock.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 15, 2024
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 [email protected] on 3 Dec 2009 at 12:25

from powermock.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 15, 2024
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 [email protected] on 3 Dec 2009 at 12:33

from powermock.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 15, 2024
[deleted comment]

from powermock.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 15, 2024
Ignore my last comment. New issue is here:
http://code.google.com/p/powermock/issues/detail?id=122

Original comment by [email protected] on 3 Dec 2009 at 12:47

from powermock.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 15, 2024
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 [email protected] on 12 Feb 2010 at 10:19

from powermock.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 15, 2024
This is excellent news. Thank you so much!

Original comment by [email protected] on 12 Feb 2010 at 10:30

from powermock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.