Hi there,

I am trying to dump code coverage while running tests inside a container. 
But I am getting connection refused while dumping. Can some one pl take a 
look and help

JVM command changes in container:

-javaagent:lib/org.jacoco.agent-0.8.4-runtime.jar=port=6300,destfile=/tmp/target/jacoco-ft.exec,output=tcpserver,address=*
 

Functional Test pom changes:
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.3</version>
<configuration>
<address>IP address of container</address>
<destFile>/tmp/target/jacoco-ft.exec</destFile>
<port>6300</port>
<reset>false</reset>
<append>true</append>
</configuration>
<executions>
<execution>
<phase>post-integration-test</phase>
<goals>
<goal>dump</goal>
</goals>
</execution>
<execution>
<id>jacoco-report</id>
<phase>verify</phase>
<goals>
<goal>report</goal>
</goals>
<configuration>
<dataFile>/tmp/target/jacoco-ft.exec</dataFile>
<outputDirectory>/tmp/target/my-report</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>

-- 
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/a59f8b14-1541-4bb1-9731-0d1ef2edde11n%40googlegroups.com.

Reply via email to