@@ -48,6 +48,7 @@ std::string Options::public_key_ = "public.key";
4848std::string Options::private_key_ = " private.key" ;
4949bool Options::is_verbose_ccm_ = false ;
5050bool Options::is_verbose_integration_ = false ;
51+ bool Options::is_beta_protocol_ = true ;
5152
5253// Static initialization is not guaranteed for the following types
5354CCM::DseCredentialsType Options::dse_credentials_type_;
@@ -181,6 +182,8 @@ bool Options::initialize(int argc, char* argv[]) {
181182 is_verbose_ccm_ = true ;
182183 is_verbose_integration_ = true ;
183184 }
185+ } else if (key == " --disable-beta-protocol" ) {
186+ is_beta_protocol_ = false ;
184187 }
185188#ifdef CASS_USE_LIBSSH2
186189 else if (key == " --authentication" ) {
@@ -355,6 +358,9 @@ void Options::print_help() {
355358 << std::endl;
356359 std::cout << " --verbose(=ccm,integration)" << std::endl << " "
357360 << " Enable verbose output for component(s)." << std::endl;
361+ std::cout << " --disable-beta-protocol" << std::endl << " "
362+ << " Disable beta protocol use by default." << std::endl << " "
363+ << " NOTE: Individual tests may override this setting." << std::endl;
358364 std::cout << std::endl;
359365}
360366
@@ -533,6 +539,10 @@ bool Options::is_verbose_integration() {
533539 return is_verbose_integration_;
534540}
535541
542+ bool Options::is_beta_protocol () {
543+ return is_beta_protocol_;
544+ }
545+
536546Options::Options () {
537547}
538548
0 commit comments