Skip to content

Commit f9ef106

Browse files
author
Michael Fero
committed
test: Updating Cassandra and DSE versions
1 parent 52b42e2 commit f9ef106

4 files changed

Lines changed: 14 additions & 10 deletions

File tree

cpp-driver/gtests/src/integration/options.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
#include <algorithm>
2424
#include <iostream>
2525

26-
#define DEFAULT_OPTIONS_CASSSANDRA_VERSION CCM::CassVersion("3.11.3")
27-
#define DEFAULT_OPTIONS_DSE_VERSION CCM::DseVersion("6.0.4")
26+
#define DEFAULT_OPTIONS_CASSSANDRA_VERSION CCM::CassVersion("3.11.4")
27+
#define DEFAULT_OPTIONS_DSE_VERSION CCM::DseVersion("6.0.8")
2828

2929
// Initialize the defaults for all the options
3030
bool Options::is_initialized_ = false;

cpp-driver/test/ccm_bridge/data/config.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#
1414
# Uncomment to specify Cassandra version
1515
##
16-
#CASSANDRA_VERSION=3.11.3
16+
#CASSANDRA_VERSION=3.11.4
1717
##
1818
# Flag to determine if Cassandra/DSE version should be obtained from ASF/GitHub
1919
#
@@ -68,7 +68,7 @@
6868
#
6969
# Uncomment to specify DSE version
7070
##
71-
#DSE_VERSION=6.0.4
71+
#DSE_VERSION=6.0.8
7272
##
7373
# CCM DSE Credentials Type (username_password|ini_file)
7474
#

cpp-driver/test/ccm_bridge/src/bridge.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ typedef struct _LIBSSH2_CHANNEL LIBSSH2_CHANNEL;
4444
#endif
4545

4646
// Default values
47-
#define DEFAULT_CASSANDRA_VERSION CassVersion("3.11.3")
48-
#define DEFAULT_DSE_VERSION DseVersion("6.0.4")
47+
#define DEFAULT_CASSANDRA_VERSION CassVersion("3.11.4")
48+
#define DEFAULT_DSE_VERSION DseVersion("6.0.8")
4949
#define DEFAULT_USE_GIT false
5050
#define DEFAULT_USE_INSTALL_DIR false
5151
#define DEFAULT_USE_DSE false

cpp-driver/test/ccm_bridge/src/cass_version.hpp

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -472,13 +472,17 @@ class DseVersion : public CassVersion {
472472
} else if (*this == "5.1.11") {
473473
return CassVersion("3.11.2-5111");
474474
} else if (*this == "5.1.12") {
475-
return CassVersion("3.11.2-5112");
476-
} else if (*this >= "5.1.13" && *this < "6.0.0") {
477-
if (*this > "5.1.13") {
475+
return CassVersion("3.11.3-5112");
476+
} else if (*this == "5.1.13") {
477+
return CassVersion("3.11.3-5113");
478+
} else if (*this == "5.1.14") {
479+
return CassVersion("3.11.3-5114");
480+
} else if (*this >= "5.1.15" && *this < "6.0.0") {
481+
if (*this > "5.1.15") {
478482
std::cerr << "Cassandra Version is not Defined: "
479483
<< "Add Cassandra version for DSE v" << this->to_string() << std::endl;
480484
}
481-
return CassVersion("3.11.2-5113");
485+
return CassVersion("3.11.3-5115");
482486
} else if (*this >= "6.0.0" && *this < "6.7.0") {
483487
return CassVersion(
484488
"3.11.2-5111"); // Versions before DSE 6.7 erroneously return they support Cassandra 4.0.0

0 commit comments

Comments
 (0)