Skip to content

Commit

Permalink
Fixes the failing test
Browse files Browse the repository at this point in the history
Signed-off-by: Gagan Juneja <[email protected]>
  • Loading branch information
Gagan Juneja committed Jul 22, 2024
1 parent aad2bfd commit cf42943
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ public void init() {
Mockito.when(controller.isPerformanceAnalyzerEnabled()).thenReturn(true);
Mockito.when(
metricsRegistry.createHistogram(
Mockito.eq("CPU_Utilization"),
Mockito.eq("cpu_utilization"),
Mockito.anyString(),
Mockito.eq("rate")))
.thenReturn(cpuUtilizationHistogram);
Mockito.when(
metricsRegistry.createHistogram(
Mockito.eq("heap_used"), Mockito.anyString(), Mockito.eq("B")))
Mockito.eq("heap_allocated"), Mockito.anyString(), Mockito.eq("B")))
.thenReturn(heapUsedHistogram);
searchListener = new RTFPerformanceAnalyzerSearchListener(controller);
assertEquals(
Expand Down

0 comments on commit cf42943

Please sign in to comment.