Skip to content

Commit

Permalink
Add tycho.testArgLine.local to Jolokia test argLine
Browse files Browse the repository at this point in the history
  • Loading branch information
aptmac committed Sep 17, 2024
1 parent 816aa4d commit 653ae41
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions application/tests/org.openjdk.jmc.jolokia.test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@
<includes>${test.includes}</includes>
<!-- Start jolokia on a random free port to avoid requiring specific ports to run test -->
<!-- Agent version may differ from client version, in fact it may be a good test -->
<argLine>
-javaagent:${settings.localRepository}/org/jolokia/jolokia-agent-jvm/${jolokia.agent.version}/jolokia-agent-jvm-${jolokia.agent.version}-javaagent.jar=port=0,discoveryEnabled=true</argLine>
<argLine>${tycho.testArgLine.local} -javaagent:${settings.localRepository}/org/jolokia/jolokia-jvm/${jolokia.agent.version}/jolokia-jvm-${jolokia.agent.version}.jar=port=0,discover=true</argLine>
</configuration>
</plugin>

Expand Down

0 comments on commit 653ae41

Please sign in to comment.