Skip to content

Commit

Permalink
Update tests for 4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
emerkle826 committed Jul 14, 2023
1 parent 2d17ead commit b4a855c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ public void testResetLocalSchema() throws IOException, URISyntaxException {
assumeTrue(IntegrationTestUtils.shouldRun());
// Reset schema does not work on Cassandra 4.1+
assumeFalse("4_1".equals(this.version));
assumeFalse("4_1_ubi".equals(this.version));
assumeFalse("trunk".equals(this.version));
ensureStarted();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -424,12 +424,16 @@ static DockerBuildConfig getConfig(String version, List<String> envVars) {
case "4_1":
config.dockerFile = Paths.get(config.baseDir.getPath(), "Dockerfile-4_1").toFile();
config.target = "oss41";
config.envList = Lists.newArrayList("MAX_HEAP_SIZE=500M", "HEAP_NEWSIZE=100M");
config.envList =
Lists.newArrayList(
"MAX_HEAP_SIZE=500M", "HEAP_NEWSIZE=100M", "MGMT_API_DISABLE_MCAC=true");
break;
case "4_1_ubi":
config.dockerFile = Paths.get(config.baseDir.getPath(), "Dockerfile-4_1.ubi8").toFile();
config.target = "oss41";
config.envList = Lists.newArrayList("MAX_HEAP_SIZE=500M", "HEAP_NEWSIZE=100M");
config.envList =
Lists.newArrayList(
"MAX_HEAP_SIZE=500M", "HEAP_NEWSIZE=100M", "MGMT_API_DISABLE_MCAC=true");
break;
case "trunk":
config.dockerFile =
Expand Down

0 comments on commit b4a855c

Please sign in to comment.