Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ void prepTest() {
server.beforeTestExecution(null);
}

@SuppressWarnings("deprecation") // using deprecated semconv
private void validateOperationResponse(String operation, Object response) {
assertThat(response).isNotNull();
assertThat(response.getClass().getSimpleName()).startsWith(operation);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ void testExecuteAndWaitWithStringQueryAndId() throws ClickHouseException {
}

@Test
@SuppressWarnings("deprecation") // using deprecated semconv
void testExecuteAndWaitThrowsException() {
Throwable thrown =
catchThrowable(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ public class DbClientMetricsTestUtil {

private DbClientMetricsTestUtil() {}

@SuppressWarnings("deprecation") // using deprecated db semconv
public static void assertDurationMetric(
InstrumentationExtension testing,
String instrumentationName,
Expand Down