Hello,

I am setting up a code coverage for my project which follows a micro service 
architecture with services deployed as docker containers. I have setup an 
individual docker container running  ExecutionDataServer from the examples. Now 
my dilemma is how to make the jacoco agent running in tcpclient mode publish to 
this server. 

As far as I understand that jvm has to get terminated so that the execution 
data is dumped. I tried several ways of shutting down the docker containers but 
I do not see any data getting written to the server. Any insights into this is 
appreciated. 


Following is the configuration in each of the microservices

-javaagent:/lib/org.jacoco.agent-0.7.8runtime.jar=output=tcpclient,address=jacocoserver,port=6300


address attribute is the hostname of the container running ExecutionDataServer.

Thanks,
Revanth.

-- 
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/554d2c0a-33c3-469e-87cf-98419154086a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to