Skip to content

Commit

Permalink
test(smoketest): set jfr-datasource for JDP and Podman discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Aug 17, 2023
1 parent dd04500 commit b3dfe54
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions smoketest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,11 @@ runJfrDatasource() {
--name jfr-datasource \
--pull "${PULL_IMAGES}" \
--pod cryostat-pod \
--label io.cryostat.discovery="true" \
--label io.cryostat.jmxHost="localhost" \
--label io.cryostat.jmxPort="${RJMX_PORT}" \
--restart on-failure \
--env JAVA_OPTS="-Dcom.sun.management.jmxremote.autodiscovery=true -Dcom.sun.management.jmxremote.port=${RJMX_PORT} -Dcom.sun.management.jmxremote.rmi.port=${RJMX_PORT} -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false" \
--rm -d "${DATASOURCE_IMAGE}"
}

Expand Down

0 comments on commit b3dfe54

Please sign in to comment.