Skip to content

Commit

Permalink
Disable tests using MS SQL on Arm64 [HZ-3056] (hazelcast#25365)
Browse files Browse the repository at this point in the history
  • Loading branch information
frant-hartm committed Sep 5, 2023
1 parent e3699f7 commit 9c67922
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -18,6 +18,8 @@

import org.testcontainers.containers.MSSQLServerContainer;

import static com.hazelcast.test.HazelcastTestSupport.assumeNoArm64Architecture;

public class MSSQLDatabaseProvider implements TestDatabaseProvider {

public static final String TEST_MSSQLSERVER_VERSION = System.getProperty("test.mssqlserver.version", "2017-CU12");
Expand All @@ -28,6 +30,7 @@ public class MSSQLDatabaseProvider implements TestDatabaseProvider {

@Override
public String createDatabase(String dbName) {
assumeNoArm64Architecture();
container = new MSSQLServerContainer<>("mcr.microsoft.com/mssql/server:" + TEST_MSSQLSERVER_VERSION);
container.acceptLicense()
// See https://learn.microsoft.com/en-us/sql/connect/jdbc/using-basic-data-types?view=sql-server-ver16
Expand Down

0 comments on commit 9c67922

Please sign in to comment.