test: Enable RF-rack-valid keyspaces in all Python suites

We're enabling the configuration option `rf_rack_valid_keyspaces`
in all Python test suites. All relevant tests have been adjusted
to work with it enabled.

That encompasses the following suites:

* alternator,
* broadcast_tables,
* cluster (already enabled in scylladb/scylladb@ee96f8dcfc),
* cql,
* cqlpy (already enabled in scylladb/scylladb@be0877ce69),
* nodetool,
* rest_api.

Two remaining suites that use tests written in Python, redis and scylla_gdb,
are not affected, at least not directly.

The redis suite requires creating an instance of Scylla manually, and the tests
don't do anything that could violate the restriction.

The scylla_gdb suite focuses on testing the capabilities of scylla-gdb.py, but
even then it reuses the `run` file from the cqlpy suite.

Fixes scylladb/scylladb#25126

Closes scylladb/scylladb#24617
This commit is contained in:
Dawid Mędrek
2025-07-22 12:52:43 +02:00
committed by Piotr Dulikowski
parent 198cfc6fe7
commit b41151ff1a

View File

@@ -148,6 +148,8 @@ def make_scylla_conf(mode: str, workdir: pathlib.Path, host_addr: str, seed_addr
'truststore': 'conf/scyllacadb.pem',
},
'rf_rack_valid_keyspaces': True,
}
# Seastar options can not be passed through scylla.yaml, use command line