diff --git a/sdk/spring/spring-cloud-azure-test-eventhubs-binder/pom.xml b/sdk/spring/spring-cloud-azure-test-eventhubs-binder/pom.xml index 57e02eced1275..e8b189cbb64ec 100644 --- a/sdk/spring/spring-cloud-azure-test-eventhubs-binder/pom.xml +++ b/sdk/spring/spring-cloud-azure-test-eventhubs-binder/pom.xml @@ -58,12 +58,6 @@ spring-boot-starter-test test - - org.junit.vintage - junit-vintage-engine - 5.8.2 - test - diff --git a/sdk/spring/spring-cloud-azure-test-eventhubs-binder/src/test/java/com/azure/spring/sample/eventhubs/binder/EventHubsBinderSyncModeIT.java b/sdk/spring/spring-cloud-azure-test-eventhubs-binder/src/test/java/com/azure/spring/sample/eventhubs/binder/EventHubsBinderSyncModeIT.java index a68e4b058b5d5..6cb64e78cd3eb 100644 --- a/sdk/spring/spring-cloud-azure-test-eventhubs-binder/src/test/java/com/azure/spring/sample/eventhubs/binder/EventHubsBinderSyncModeIT.java +++ b/sdk/spring/spring-cloud-azure-test-eventhubs-binder/src/test/java/com/azure/spring/sample/eventhubs/binder/EventHubsBinderSyncModeIT.java @@ -3,14 +3,12 @@ package com.azure.spring.sample.eventhubs.binder; -import org.junit.Rule; import org.junit.jupiter.api.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.boot.test.system.OutputCaptureRule; import org.springframework.context.annotation.Bean; import org.springframework.messaging.Message; import org.springframework.messaging.support.GenericMessage; @@ -42,9 +40,6 @@ class EventHubsBinderSyncModeIT { @Autowired private Sinks.Many> many; - @Rule - OutputCaptureRule capture = new OutputCaptureRule(); - private static final CountDownLatch LATCH = new CountDownLatch(1); @EnableAutoConfiguration diff --git a/sdk/spring/spring-messaging-azure-eventhubs/pom.xml b/sdk/spring/spring-messaging-azure-eventhubs/pom.xml index 616c6056889f7..116fe93c20123 100644 --- a/sdk/spring/spring-messaging-azure-eventhubs/pom.xml +++ b/sdk/spring/spring-messaging-azure-eventhubs/pom.xml @@ -111,14 +111,8 @@ org.junit.jupiter - junit-jupiter-api - 5.8.2 - test - - - org.junit.vintage - junit-vintage-engine - 5.8.2 + junit-jupiter + 5.8.2 test