Hi Aaron,

JaCoCo agent holds coverage information in-memory. Therefore if you stop the 
JVM without dumping the data it will be lost.

In you’re case you need to collect coverage data over tcp before you re-deploy.

Regards,
-marc

> On 11. Dec 2019, at 05:24, Aaron zhang <[email protected]> wrote:
> 
> hi :
> 
> Thanks in advance!
> 
> We use tcp mode to get coverage from remote service with jacoco agent. we 
> find that coverage will be empty by re-deploy server. 
>       
>      How do we save each of coverages and but don't empty it, then merge 
> coverage from previous coverage to current result?
> 
>      In additionally, how does jacoco agent save coverage in remote server? 
> in memory or file? if file, where is location?
> 
> BR,
> Aaron
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jacoco/ab3acfda-a535-415a-aa3e-53e5299d3aeb%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jacoco/ab3acfda-a535-415a-aa3e-53e5299d3aeb%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/C609B607-5E06-4544-955C-D2197657B4F1%40mountainminds.com.

Reply via email to