Update integration tests
This commit updates TestContainers dependency and versions of Docker images used in integration tests.
This commit is contained in:
@@ -14,16 +14,13 @@ dependencyManagement {
|
||||
}
|
||||
|
||||
dependencySet(group: 'org.testcontainers', version: '1.5.1') {
|
||||
entry 'mariadb'
|
||||
entry 'mssqlserver'
|
||||
entry 'mysql'
|
||||
entry 'postgresql'
|
||||
entry 'testcontainers'
|
||||
}
|
||||
|
||||
dependencySet(group: 'org.testcontainers', version: '1.4.3') {
|
||||
entry 'mariadb'
|
||||
entry 'mssqlserver'
|
||||
}
|
||||
|
||||
dependency 'com.h2database:h2:1.4.196'
|
||||
dependency 'com.microsoft.sqlserver:mssql-jdbc:6.2.2.jre8'
|
||||
dependency 'edu.umd.cs.mtc:multithreadedtc:1.01'
|
||||
|
||||
@@ -46,7 +46,7 @@ import org.springframework.test.context.web.WebAppConfiguration;
|
||||
public class MariaDB10JdbcOperationsSessionRepositoryITests
|
||||
extends AbstractJdbcOperationsSessionRepositoryITests {
|
||||
|
||||
private static final String DOCKER_IMAGE = "mariadb:10.2.11";
|
||||
private static final String DOCKER_IMAGE = "mariadb:10.2.12";
|
||||
|
||||
@ClassRule
|
||||
public static MariaDBContainer mariaDBContainer = new MariaDBContainer(DOCKER_IMAGE);
|
||||
|
||||
@@ -43,7 +43,7 @@ import org.springframework.test.context.web.WebAppConfiguration;
|
||||
public class MySQL5JdbcOperationsSessionRepositoryITests
|
||||
extends AbstractJdbcOperationsSessionRepositoryITests {
|
||||
|
||||
private static final String DOCKER_IMAGE = "mysql:5.7.20";
|
||||
private static final String DOCKER_IMAGE = "mysql:5.7.21";
|
||||
|
||||
@ClassRule
|
||||
public static MySQLContainer mySQLContainer = new MySQLContainer(DOCKER_IMAGE);
|
||||
|
||||
@@ -20,7 +20,6 @@ import javax.sql.DataSource;
|
||||
|
||||
import com.microsoft.sqlserver.jdbc.SQLServerDataSource;
|
||||
import org.junit.ClassRule;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.testcontainers.containers.MSSQLServerContainer;
|
||||
|
||||
@@ -39,14 +38,13 @@ import org.springframework.test.context.web.WebAppConfiguration;
|
||||
*
|
||||
* @author Vedran Pavic
|
||||
*/
|
||||
@Ignore
|
||||
@RunWith(SpringRunner.class)
|
||||
@WebAppConfiguration
|
||||
@ContextConfiguration
|
||||
public class SQLServerJdbcOperationsSessionRepositoryITests
|
||||
extends AbstractJdbcOperationsSessionRepositoryITests {
|
||||
|
||||
private static final String DOCKER_IMAGE = "microsoft/mssql-server-linux:2017-CU2";
|
||||
private static final String DOCKER_IMAGE = "microsoft/mssql-server-linux:2017-CU3";
|
||||
|
||||
@ClassRule
|
||||
public static MSSQLServerContainer container = new MSSQLServerContainer(DOCKER_IMAGE);
|
||||
|
||||
Reference in New Issue
Block a user