Skip to content

Commit

Permalink
Merge pull request #312 from newrelic/update-jfr-daemon
Browse files Browse the repository at this point in the history
update jfr-daemon
  • Loading branch information
XiXiaPdx authored Jun 1, 2021
2 parents 0804fbc + e537b7c commit 9705f2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion newrelic-agent/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ dependencies {
}

shadowIntoJar("com.newrelic.agent.java:newrelic-module-util-java:2.0")
shadowIntoJar("com.newrelic:jfr-daemon:1.2.0")
shadowIntoJar("com.newrelic:jfr-daemon:1.3.0")
shadowIntoJar 'org.ow2.asm:asm:8.0.1'
shadowIntoJar 'org.ow2.asm:asm-tree:8.0.1'
shadowIntoJar 'org.ow2.asm:asm-commons:8.0.1'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public void daemonConfigBuiltCorrect() {
JfrService jfrService = new JfrService(jfrConfig, agentConfig);
DaemonConfig daemonConfig = jfrService.buildDaemonConfig();

assertTrue(daemonConfig.isUseLicenseKey()); // TODO refactor this to daemonConfig.useLicenseKey() when updating from jfr-daemon 1.2.0
assertTrue(daemonConfig.useLicenseKey());
assertEquals("test_1234_license_key", daemonConfig.getApiKey());
assertEquals("test_app_name", daemonConfig.getMonitoredAppName());
assertEquals(DEFAULT_METRIC_INGEST_URI, daemonConfig.getMetricsUri().toString());
Expand Down

0 comments on commit 9705f2f

Please sign in to comment.