Skip to content

Commit

Permalink
Adds build issue
Browse files Browse the repository at this point in the history
Signed-off-by: Gagan Juneja <[email protected]>
  • Loading branch information
Gagan Juneja committed Jun 6, 2024
1 parent db30ce7 commit c16c44a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ public void testGauge() {
assertSame(mockCloseable, closeable);
}

@SuppressWarnings("unchecked")
public void testGaugeWithValueAndTagSupplier() {
Closeable mockCloseable = mock(Closeable.class);
when(defaultMeterRegistry.createGauge(any(String.class), any(String.class), any(String.class), any(Supplier.class))).thenReturn(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ public void testGauge() throws Exception {
verify(observableDoubleGauge).close();
}

@SuppressWarnings({ "rawtypes", "unchecked" })
public void testGaugeWithValueAndTagsSupplier() throws Exception {
String observableGaugeName = "test-gauge";
String description = "test";
Expand Down

0 comments on commit c16c44a

Please sign in to comment.