-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Cassandra 4.1.6 to the build matrix (#528)
- Loading branch information
1 parent
1516901
commit 868dda4
Showing
11 changed files
with
204 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
management-api-server/src/test/java/com/datastax/mgmtapi/Lifecycle412IT.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* Copyright DataStax, Inc. | ||
* | ||
* Please see the included license file for details. | ||
*/ | ||
package com.datastax.mgmtapi; | ||
|
||
import java.io.IOException; | ||
import java.util.ArrayList; | ||
|
||
public class Lifecycle412IT extends LifecycleIT { | ||
|
||
public Lifecycle412IT(String version) throws IOException { | ||
super(version); | ||
} | ||
/** | ||
* Override environment variables to specify the version of Cassandra to be used. For the test in | ||
* here, we want Cassandra 4.1.2 to test pre-4.1.3 changes. | ||
* | ||
* @return A list of Docker build environment variables. | ||
*/ | ||
@Override | ||
protected ArrayList<String> getImageBuildArgs() { | ||
ArrayList<String> list = super.getImageBuildArgs(); | ||
list.add("CASSANDRA_VERSION=4.1.2"); | ||
return list; | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
management-api-server/src/test/java/com/datastax/mgmtapi/Lifecycle415IT.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* Copyright DataStax, Inc. | ||
* | ||
* Please see the included license file for details. | ||
*/ | ||
package com.datastax.mgmtapi; | ||
|
||
import java.io.IOException; | ||
import java.util.ArrayList; | ||
|
||
public class Lifecycle415IT extends LifecycleIT { | ||
|
||
public Lifecycle415IT(String version) throws IOException { | ||
super(version); | ||
} | ||
/** | ||
* Override environment variables to specify the version of Cassandra to be used. For the test in | ||
* here, we want Cassandra 4.1.5 to test post-4.1.3 changes through pre-4.1.6 changes. | ||
* | ||
* @return A list of Docker build environment variables. | ||
*/ | ||
@Override | ||
protected ArrayList<String> getImageBuildArgs() { | ||
ArrayList<String> list = super.getImageBuildArgs(); | ||
list.add("CASSANDRA_VERSION=4.1.5"); | ||
return list; | ||
} | ||
} |