Skip to content

Commit

Permalink
enhance comments & test cmd log msg
Browse files Browse the repository at this point in the history
  • Loading branch information
SylvainJuge committed Sep 18, 2024
1 parent 586f780 commit 966aee6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ void endToEndTest() {
scraper =
createScraperContainer(otlpEndpoint, getTargetSystem(), null, "target_system", JMX_PORT);
logger.info(
"starting scraper with JVM arguments : {}", String.join(" ", scraper.getCommandParts()));
"starting scraper with command: {}", String.join(" ", scraper.getCommandParts()));

scraper.start();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ public JMXConnector connect() throws IOException {

try {
// Not all supported versions of Java contain this Provider
// Also it might not be accessible due to java.security.sasl module not accessible
Class<?> klass = Class.forName("com.sun.security.sasl.Provider");
Provider provider = (Provider) klass.getDeclaredConstructor().newInstance();
Security.addProvider(provider);
Expand Down

0 comments on commit 966aee6

Please sign in to comment.