Skip to content

Commit

Permalink
Remove the junit-vintage-engine from Spring projects (Azure#29160)
Browse files Browse the repository at this point in the history
* stop using junit vintage engine
* remove unused field
  • Loading branch information
saragluna authored Jun 6, 2022
1 parent 621d43e commit ea67fc5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 19 deletions.
6 changes: 0 additions & 6 deletions sdk/spring/spring-cloud-azure-test-eventhubs-binder/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,6 @@
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<version>5.8.2</version> <!-- {x-version-update;org.junit.vintage:junit-vintage-engine;external_dependency} -->
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -42,9 +40,6 @@ class EventHubsBinderSyncModeIT {
@Autowired
private Sinks.Many<Message<String>> many;

@Rule
OutputCaptureRule capture = new OutputCaptureRule();

private static final CountDownLatch LATCH = new CountDownLatch(1);

@EnableAutoConfiguration
Expand Down
10 changes: 2 additions & 8 deletions sdk/spring/spring-messaging-azure-eventhubs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,8 @@
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.8.2</version> <!-- {x-version-update;org.junit.jupiter:junit-jupiter-api;external_dependency} -->
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<version>5.8.2</version> <!-- {x-version-update;org.junit.vintage:junit-vintage-engine;external_dependency} -->
<artifactId>junit-jupiter</artifactId>
<version>5.8.2</version> <!-- {x-version-update;org.junit.jupiter:junit-jupiter;external_dependency} -->
<scope>test</scope>
</dependency>
<dependency>
Expand Down

0 comments on commit ea67fc5

Please sign in to comment.