Skip to content

Commit

Permalink
mapped port not mapped anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
SylvainJuge committed Oct 16, 2024
1 parent 69f0fd1 commit 3362166
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,6 @@ void endToEndTest() {
.withNetworkAliases(TARGET_SYSTEM_NETWORK_ALIAS);
target.start();

String targetHost = target.getHost();
Integer targetPort = target.getMappedPort(JMX_PORT);
logger.info(
"Target system started, JMX port: {} mapped to {}:{}", JMX_PORT, targetHost, targetPort);

scraper =
new JmxScraperContainer(otlpEndpoint)
.withLogConsumer(new Slf4jLogConsumer(jmxScraperLogger))
Expand Down

0 comments on commit 3362166

Please sign in to comment.