Fix dropwizard metrics latest deps test
MODIFY
instrumentation/dropwizard/dropwizard-metrics-4.0/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/dropwizardmetrics/DropwizardMetricsTest.java
instrumentation/dropwizard/dropwizard-metrics-4.0/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/dropwizardmetrics/DropwizardMetricsTest.java
@@ -163,6 +163,7 @@ public class DropwizardMetricsTest {
}
@Test
+ @SuppressWarnings("PreferJavaTimeOverload")
void timer() throws InterruptedException {
// given
MetricRegistry metricRegistry = new MetricRegistry();

Fix dropwizard metrics latest deps test (#6329)