From 2819d2231b5507a1c387f133e1aa7d1533c908c6 Mon Sep 17 00:00:00 2001 From: Gregor Zeitlinger Date: Fri, 10 May 2024 14:33:05 +0200 Subject: [PATCH] fix kafka test --- .../spring/smoketest/AbstractKafkaSpringStarterSmokeTest.java | 1 - 1 file changed, 1 deletion(-) diff --git a/smoke-tests-otel-starter/spring-boot-common/src/main/java/io/opentelemetry/spring/smoketest/AbstractKafkaSpringStarterSmokeTest.java b/smoke-tests-otel-starter/spring-boot-common/src/main/java/io/opentelemetry/spring/smoketest/AbstractKafkaSpringStarterSmokeTest.java index ac81759395c4..de88bef46e5b 100644 --- a/smoke-tests-otel-starter/spring-boot-common/src/main/java/io/opentelemetry/spring/smoketest/AbstractKafkaSpringStarterSmokeTest.java +++ b/smoke-tests-otel-starter/spring-boot-common/src/main/java/io/opentelemetry/spring/smoketest/AbstractKafkaSpringStarterSmokeTest.java @@ -27,7 +27,6 @@ abstract class AbstractKafkaSpringStarterSmokeTest extends AbstractSpringStarter @Autowired protected KafkaTemplate kafkaTemplate; - @SuppressWarnings({"unchecked", "deprecation"}) @Test void shouldInstrumentProducerAndConsumer() { testing.clearAllExportedData(); // ignore data from application startup