Skip to content

Commit 6504870

Browse files
committed
Run test only on HsqlDb.
JdbcRepositoryEmbeddedIntegrationTests no longer runs for all databases, since it doesn't tests anything specific to differen RDBMSs. Therefore the test also got renamed. See #1565
1 parent 51e4fc9 commit 6504870

9 files changed

+4
-177
lines changed
+4-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
import org.springframework.data.annotation.Id;
3030
import org.springframework.data.domain.Sort;
3131
import org.springframework.data.jdbc.repository.support.JdbcRepositoryFactory;
32+
import org.springframework.data.jdbc.testing.DatabaseType;
33+
import org.springframework.data.jdbc.testing.EnabledOnDatabase;
3234
import org.springframework.data.jdbc.testing.IntegrationTest;
3335
import org.springframework.data.jdbc.testing.TestConfiguration;
3436
import org.springframework.data.relational.core.mapping.Column;
@@ -50,7 +52,8 @@
5052
* @author Jens Schauder
5153
*/
5254
@IntegrationTest
53-
public class JdbcRepositoryEmbeddedIntegrationTests {
55+
@EnabledOnDatabase(DatabaseType.HSQL)
56+
public class JdbcRepositoryEmbeddedHsqlIntegrationTests {
5457

5558
@Configuration
5659
@Import(TestConfiguration.class)

spring-data-jdbc/src/test/resources/org.springframework.data.jdbc.repository/JdbcRepositoryEmbeddedIntegrationTests-db2.sql

-27
This file was deleted.

spring-data-jdbc/src/test/resources/org.springframework.data.jdbc.repository/JdbcRepositoryEmbeddedIntegrationTests-h2.sql

-23
This file was deleted.

spring-data-jdbc/src/test/resources/org.springframework.data.jdbc.repository/JdbcRepositoryEmbeddedIntegrationTests-mariadb.sql

-23
This file was deleted.

spring-data-jdbc/src/test/resources/org.springframework.data.jdbc.repository/JdbcRepositoryEmbeddedIntegrationTests-mssql.sql

-27
This file was deleted.

spring-data-jdbc/src/test/resources/org.springframework.data.jdbc.repository/JdbcRepositoryEmbeddedIntegrationTests-mysql.sql

-23
This file was deleted.

spring-data-jdbc/src/test/resources/org.springframework.data.jdbc.repository/JdbcRepositoryEmbeddedIntegrationTests-oracle.sql

-26
This file was deleted.

spring-data-jdbc/src/test/resources/org.springframework.data.jdbc.repository/JdbcRepositoryEmbeddedIntegrationTests-postgres.sql

-27
This file was deleted.

0 commit comments

Comments
 (0)