diff --git a/test/cluster/test_sstable_compression_dictionaries_upgrade.py b/test/cluster/test_sstable_compression_dictionaries_upgrade.py index c6218f2fb8..5ad9b351b7 100644 --- a/test/cluster/test_sstable_compression_dictionaries_upgrade.py +++ b/test/cluster/test_sstable_compression_dictionaries_upgrade.py @@ -15,6 +15,7 @@ from test.pylib.manager_client import ManagerClient, ServerInfo from test.pylib.rest_client import read_barrier, HTTPError from test.pylib.scylla_cluster import ScyllaVersionDescription from test.pylib.util import wait_for_cql_and_get_hosts, wait_for_feature +from test.cluster.util import reconnect_driver from cassandra.cluster import ConsistencyLevel from cassandra.policies import FallthroughRetryPolicy from cassandra.protocol import ServerError @@ -162,6 +163,7 @@ async def test_upgrade_and_rollback(manager: ManagerClient, scylla_2025_1: Scyll ) logger.info("Waiting for SSTABLE_COMPRESSION_DICTS cluster feature") + cql = await reconnect_driver(manager) hosts = await wait_for_cql_and_get_hosts(cql, servers, time.time() + 60) await asyncio.gather(*(wait_for_feature("SSTABLE_COMPRESSION_DICTS", cql, h, time.time() + 60) for h in hosts))