diff --git a/newrelic-agent/build.gradle b/newrelic-agent/build.gradle index 5c8d60a00d..95ef0a23e8 100644 --- a/newrelic-agent/build.gradle +++ b/newrelic-agent/build.gradle @@ -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' diff --git a/newrelic-agent/src/test/java/com/newrelic/agent/jfr/JfrServiceTest.java b/newrelic-agent/src/test/java/com/newrelic/agent/jfr/JfrServiceTest.java index 4802763d69..88f7ff420f 100644 --- a/newrelic-agent/src/test/java/com/newrelic/agent/jfr/JfrServiceTest.java +++ b/newrelic-agent/src/test/java/com/newrelic/agent/jfr/JfrServiceTest.java @@ -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());