Hi,
as you have configured the agent to act as a tcpserver you probably have
some client that dumps the data at the end of the test run. So you need
to request another dump before you restart the server.
If you use output=file the JaCoCo agent will append execution data at
every proper shutdown of the JVM.
Regards,
-marc
On 2017-08-17 11:06, [email protected] wrote:
Hello Team,
I have configured JACOCO agent in my server like this :
-javaagent:/tmp/ashishb/jacocoJar/jacocoagent.jar=destfile=/tmp/ashishb/jacocoexec/jacoco.exec,output=tcpserver,address=oipp310486.in.syngery1.com,port=6300,classdumpdir=/tmp/ashishb/ProjectData/bin,includes=com.ofss.bb.cz.pp*
Now :
Program ExecutionData.java creating exec and ReportGenerator.java
creating coverage report properly.
Issue:
While running smoke ( certain test cases) on server
(oipp310486.in.syngery1.com)
I need to restart the server...
e.g.
Competed 80% test cases, to complete 100% need to restart the server.
Q. How can i persist old exec data after restart also ?
--
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/a49342f1d1f89c3c452ddfc5fc1cc021%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.