Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
tejasd committed Feb 6, 2025
1 parent 705ceea commit c2e355e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public void testInstanceCreation() {
}

@Test
public void setApplicationContext_logGaugeMetadata_afterGaugeMetadataManagerIsInitialized()
public void setApplicationContext_initializeGaugeMetadataManager()
throws ExecutionException, InterruptedException {
when(mockPerfSession.isGaugeAndEventCollectionEnabled()).thenReturn(true);
InOrder inOrder = Mockito.inOrder(mockGaugeManager);
Expand All @@ -84,7 +84,6 @@ public void setApplicationContext_logGaugeMetadata_afterGaugeMetadataManagerIsIn

testSessionManager.getSyncInitFuture().get();
inOrder.verify(mockGaugeManager).initializeGaugeMetadataManager(any());
inOrder.verify(mockGaugeManager).logGaugeMetadata(any(), any());
}

@Test
Expand Down

0 comments on commit c2e355e

Please sign in to comment.