File tree Expand file tree Collapse file tree 5 files changed +34
-1
lines changed
spring-cloud-starter-single-step-batch-job/src/test/java/org/springframework/cloud/task/batch/autoconfigure/rabbit
spring-cloud-task-samples/batch-events
src/test/java/io/spring/cloud Expand file tree Collapse file tree 5 files changed +34
-1
lines changed Original file line number Diff line number Diff line change 315315 </pluginRepository >
316316 </pluginRepositories >
317317 </profile >
318+ <profile >
319+ <id >withoutDockerTests</id >
320+ <build >
321+ <plugins >
322+ <plugin >
323+ <artifactId >maven-surefire-plugin</artifactId >
324+ <configuration >
325+ <excludedGroups >DockerRequired</excludedGroups >
326+ </configuration >
327+ </plugin >
328+ </plugins >
329+ </build >
330+ </profile >
318331 </profiles >
319332</project >
Original file line number Diff line number Diff line change 2222
2323import org .junit .jupiter .api .AfterEach ;
2424import org .junit .jupiter .api .BeforeEach ;
25+ import org .junit .jupiter .api .Tag ;
2526import org .junit .jupiter .api .Test ;
2627import org .mockito .Mockito ;
2728import org .testcontainers .containers .GenericContainer ;
5455
5556import static org .assertj .core .api .Assertions .assertThat ;
5657
58+ @ Tag ("DockerRequired" )
5759public class AmqpItemReaderAutoConfigurationTests {
5860
5961 private static int amqpPort ;
Original file line number Diff line number Diff line change 2323
2424import org .junit .jupiter .api .AfterEach ;
2525import org .junit .jupiter .api .BeforeEach ;
26+ import org .junit .jupiter .api .Tag ;
2627import org .junit .jupiter .api .Test ;
2728import org .mockito .Mockito ;
2829import org .testcontainers .containers .GenericContainer ;
5960
6061import static org .assertj .core .api .Assertions .assertThat ;
6162
63+ @ Tag ("DockerRequired" )
6264public class AmqpItemWriterAutoConfigurationTests {
6365
6466 private final static String QUEUE_NAME = "foo" ;
Original file line number Diff line number Diff line change 184184 </pluginRepository >
185185 </pluginRepositories >
186186
187-
187+ <profiles >
188+ <profile >
189+ <id >withoutDockerTests</id >
190+ <build >
191+ <plugins >
192+ <plugin >
193+ <artifactId >maven-surefire-plugin</artifactId >
194+ <configuration >
195+ <excludedGroups >DockerRequired</excludedGroups >
196+ </configuration >
197+ </plugin >
198+ </plugins >
199+ </build >
200+ </profile >
201+ </profiles >
188202</project >
Original file line number Diff line number Diff line change 2020import java .util .concurrent .TimeUnit ;
2121
2222import org .assertj .core .api .BDDAssertions ;
23+ import org .junit .jupiter .api .Tag ;
2324import org .junit .jupiter .api .Test ;
2425import org .testcontainers .containers .GenericContainer ;
2526import org .testcontainers .containers .RabbitMQContainer ;
3435
3536import static org .assertj .core .api .Assertions .assertThat ;
3637
38+ @ Tag ("DockerRequired" )
3739public class BatchEventsApplicationTests {
3840
3941 static {
You can’t perform that action at this time.
0 commit comments