Skip to content

Commit 6837233

Browse files
committed
Fix failing test in test_cluster.py
One of the tests was failing in CI, even after previous fix. This is probably caused by cluster being reused, instead of being recreated with newly set env option.
1 parent dadf949 commit 6837233

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/standard/test_cluster.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
from cassandra.connection import DefaultEndPoint
4141

4242
from tests import notwindows
43-
from tests.integration import use_singledc, get_server_versions, CASSANDRA_VERSION, \
43+
from tests.integration import use_cluster, get_server_versions, CASSANDRA_VERSION, \
4444
execute_until_pass, execute_with_long_wait_retry, get_node, MockLoggingHandler, get_unsupported_lower_protocol, \
4545
get_unsupported_upper_protocol, lessthanprotocolv3, protocolv6, local, CASSANDRA_IP, greaterthanorequalcass30, \
4646
lessthanorequalcass40, DSE_VERSION, TestCluster, PROTOCOL_VERSION, xfail_scylla, incorrect_test
@@ -52,7 +52,7 @@
5252

5353
def setup_module():
5454
os.environ['SCYLLA_EXT_OPTS'] = "--smp 1"
55-
use_singledc()
55+
use_cluster("cluster_tests", [3], start=True, workloads=None)
5656
warnings.simplefilter("always")
5757

5858

0 commit comments

Comments
 (0)