You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Am trying to start clover distributed tests. When I run the command "mvn clean clover:setup -Dtest=TestClassName test -Dclover.distributed.coverage=numClients=1 -Dclover.distributed.coverage=host=<my actual ip address> -Dclover.server=true -Dclover.initstring=/functional_regression/target/clover/clover.db" the test does not wait for the clients to connect and just continues.
Instead when I use "mvn clean clover:setup -Dtest=TestClassName test -Dclover.distributed.coverage=numClients=1 -Dclover.server=true -Dclover.initstring=/functional_regression/target/clover/clover.db", the test waits for client to connect, but at this point the clover server is bound to 127.0.0.1 due to which the remote client cannot connect to the server and hence the tests never start.
Am I doing something incorrectly?
When you provide clover.distributed.coverage system properties twice, you simply override values.
If you want to config multiple properties for distributed coverage you shall use ; as a separator.
Please take a look at the code
Was able to solve this my adding the ip in the pom's plugin configuration instead of giving it in the command line. This way, the process binds to the right IP as well as waits for clients to connect. Sample configuration that I used
<plugin>
<groupId>org.openclover</groupId>
<artifactId>clover-maven-plugin</artifactId>
<version>4.4.0</version>
<configuration>
<distributedCoverage>
<host>1.2.3.4</host>
<port>1198</port>
<numClients>1</numClients>
<timeout>10000</timeout>
</distributedCoverage>
</configuration>
</plugin>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello everyone, I am a product manager in the Jira Cloud team focused on making sure our customers have a delightful experience using our products. Towards that goal, one of the areas which is extr...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.