Skip to content

Commit 56abbec

Browse files
committed
Fix SourceLibraryDetectorTest test
1 parent 236a057 commit 56abbec

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

newrelic-agent/src/test/java/com/newrelic/agent/language/SourceLibraryDetectorTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ public void setup() throws Exception {
4848
public void testSamplerRun() throws Exception {
4949
sourceLibraryDetector.run();
5050
ArgumentCaptor<StatsWork> captor = ArgumentCaptor.forClass(StatsWork.class);
51-
//As of 7.0.0 we are pulling in kotlin as a transitive dependency of JFR-Daemon
52-
verify(ServiceFactory.getStatsService(), times(3)).doStatsWork(captor.capture(), anyString());
51+
verify(ServiceFactory.getStatsService(), times(2)).doStatsWork(captor.capture(), anyString());
5352

5453
StatsWork statsWork = captor.getValue();
5554

0 commit comments

Comments
 (0)