File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed
src/test/kotlin/recce/server/dataset Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,17 @@ internal open class DatasetRecServiceCrossDatabaseIntegrationTest {
3030 /* *
3131 * Databases which we expect to produce matching hashes for values of similar types.
3232 */
33- private val databases: Map <String , JdbcDatabaseContainer <Nothing >> = mapOf (
34- " mssql" to MSSQLServerContainer <Nothing >(" mcr.microsoft.com/mssql/server:2019-latest" ).acceptLicense(),
35- " mysql" to MySQLContainer (" mysql:8" ),
36- " mariadb" to MariaDBContainer (" mariadb:10" ),
37- " postgres" to PostgreSQLContainer (" postgres:14-alpine" )
38- )
33+ private val databases: Map <String , JdbcDatabaseContainer <Nothing >> = buildMap {
34+ put(" mysql" , MySQLContainer (" mysql:8" ))
35+ put(" mariadb" , MariaDBContainer (" mariadb:10" ))
36+ put(" postgres" , PostgreSQLContainer (" postgres:14-alpine" ))
37+ if (! System .getProperty(" os.arch" ).contains(Regex (" arm64|aarch64" ))) {
38+ put(
39+ " mssql" ,
40+ MSSQLServerContainer <Nothing >(" mcr.microsoft.com/mssql/server:2019-latest" ).acceptLicense()
41+ )
42+ }
43+ }
3944
4045 /* *
4146 * Types we want to test for each database combination
You can’t perform that action at this time.
0 commit comments