Skip to content

Commit

Permalink
Merge pull request #2129 from newrelic/update-jfr-daemon
Browse files Browse the repository at this point in the history
Update to JFR daemon 1.13.0
  • Loading branch information
jasonjkeller authored Nov 11, 2024
2 parents 1e4634d + 56abbec commit b448a45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion newrelic-agent/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ dependencies {
transitive = false
}
shadowIntoJar("com.newrelic.agent.java:newrelic-module-util-java:2.1")
shadowIntoJar("com.newrelic:jfr-daemon:1.12.0")
shadowIntoJar("com.newrelic:jfr-daemon:1.13.0")
shadowIntoJar "org.ow2.asm:asm:$asmVersion"
shadowIntoJar "org.ow2.asm:asm-tree:$asmVersion"
shadowIntoJar "org.ow2.asm:asm-commons:$asmVersion"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ public void setup() throws Exception {
public void testSamplerRun() throws Exception {
sourceLibraryDetector.run();
ArgumentCaptor<StatsWork> captor = ArgumentCaptor.forClass(StatsWork.class);
//As of 7.0.0 we are pulling in kotlin as a transitive dependency of JFR-Daemon
verify(ServiceFactory.getStatsService(), times(3)).doStatsWork(captor.capture(), anyString());
verify(ServiceFactory.getStatsService(), times(2)).doStatsWork(captor.capture(), anyString());

StatsWork statsWork = captor.getValue();

Expand Down

0 comments on commit b448a45

Please sign in to comment.