diff --git a/instrumentation/apolloconfig-apolloclient-1.0/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/apolloconfig/apolloclient/v1_0/ApolloRepositoryChangeTest.java b/instrumentation/apolloconfig-apolloclient-1.0/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/apolloconfig/apolloclient/v1_0/ApolloRepositoryChangeTest.java index 2e6b612645cb..e0cd954c8963 100644 --- a/instrumentation/apolloconfig-apolloclient-1.0/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/apolloconfig/apolloclient/v1_0/ApolloRepositoryChangeTest.java +++ b/instrumentation/apolloconfig-apolloclient-1.0/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/apolloconfig/apolloclient/v1_0/ApolloRepositoryChangeTest.java @@ -33,10 +33,6 @@ void fireRepositoryChangeTest() { testConfigRepository.addChangeListener(new TestRepositoryChangeListener()); testConfigRepository.sync(); - checkRepositoryChange(namespace); - } - - private static void checkRepositoryChange(String namespace) { testing.waitAndAssertTraces( trace -> trace.hasSpansSatisfyingExactly(