File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
test-infra/src/main/java/com/datastax/oss/driver/api/testinfra/ccm Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -197,9 +197,10 @@ public Version getCassandraVersion() {
197
197
}
198
198
199
199
private String getCcmVersionString (Version version ) {
200
- // for 4.0 pre-releases, the CCM version string needs to be "4.0-alpha1" or "4.0-alpha2"
201
- // Version.toString() always adds a patch value, even if it's not specified when parsing.
202
- if ((version .getMajor () == 4 || version .getMajor () == 5 )
200
+ // for 4.0 or 5.0 pre-releases, the CCM version string needs to be "4.0-alpha1", "4.0-alpha2" or
201
+ // "5.0-beta1" Version.toString() always adds a patch value, even if it's not specified when
202
+ // parsing.
203
+ if (version .getMajor () >= 4
203
204
&& version .getMinor () == 0
204
205
&& version .getPatch () == 0
205
206
&& version .getPreReleaseLabels () != null ) {
You can’t perform that action at this time.
0 commit comments