Skip to content

Commit 0fc1f04

Browse files
author
Michael Fero
committed
test: Fixing automatic beta protocol assignment
1 parent cdab683 commit 0fc1f04

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/src/integration/integration.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,8 @@ test::driver::Cluster Integration::default_cluster(bool is_with_default_contact_
373373
if (is_with_default_contact_points) {
374374
cluster.with_contact_points(contact_points_);
375375
}
376-
if (server_version_ >= "4.0" && protocol_version_ == CASS_PROTOCOL_VERSION_V4) {
376+
if (Options::is_cassandra() && server_version_ >= "4.0" &&
377+
protocol_version_ == CASS_PROTOCOL_VERSION_V4) {
377378
cluster.with_beta_protocol(is_beta_protocol_);
378379
} else {
379380
cluster.with_protocol_version(protocol_version_);

0 commit comments

Comments
 (0)