From b8a6a51488ecf7569a23a0bbeecf0be57b153082 Mon Sep 17 00:00:00 2001 From: Mahmoud Ben Hassine Date: Tue, 4 May 2021 12:04:19 +0200 Subject: [PATCH] Rename MySQLJdbcJobRepositoryTests to MySQLJdbcJobRepositoryIntegrationTests Since this is a Docker based test, it should be part of the integration test suite executed by maven-failsafe-plugin during the `verify` phase. --- ...Tests.java => MySQLJdbcJobRepositoryIntegrationTests.java} | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) rename spring-batch-core/src/test/java/org/springframework/batch/core/test/repository/{MySQLJdbcJobRepositoryTests.java => MySQLJdbcJobRepositoryIntegrationTests.java} (97%) diff --git a/spring-batch-core/src/test/java/org/springframework/batch/core/test/repository/MySQLJdbcJobRepositoryTests.java b/spring-batch-core/src/test/java/org/springframework/batch/core/test/repository/MySQLJdbcJobRepositoryIntegrationTests.java similarity index 97% rename from spring-batch-core/src/test/java/org/springframework/batch/core/test/repository/MySQLJdbcJobRepositoryTests.java rename to spring-batch-core/src/test/java/org/springframework/batch/core/test/repository/MySQLJdbcJobRepositoryIntegrationTests.java index 270cb786c..f4103afd9 100644 --- a/spring-batch-core/src/test/java/org/springframework/batch/core/test/repository/MySQLJdbcJobRepositoryTests.java +++ b/spring-batch-core/src/test/java/org/springframework/batch/core/test/repository/MySQLJdbcJobRepositoryIntegrationTests.java @@ -24,7 +24,6 @@ import com.mysql.cj.jdbc.MysqlDataSource; import org.junit.Assert; import org.junit.Before; import org.junit.ClassRule; -import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.testcontainers.containers.MySQLContainer; @@ -56,8 +55,7 @@ import org.springframework.test.context.junit4.SpringRunner; */ @RunWith(SpringRunner.class) @ContextConfiguration -@Ignore("Temporarily ignored until integration tests profile is created") -public class MySQLJdbcJobRepositoryTests { +public class MySQLJdbcJobRepositoryIntegrationTests { @ClassRule public static MySQLContainer mysql = new MySQLContainer<>();