mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-02 06:05:53 +00:00
Most of the test's cases use rack-inferring snitch driver and get DC/RACK from it via the test_dc_rack() helper. The helper was introduced in one of the previous sets to populate token metadata with some DC/RACK as normal tokens manipulations required respective endpoint in topology. This patch removes the usage of global snitch and replaces it with the pre-populated topology. The pre-population is done in rack-inferring snitch like manner, since token_metadata still uses global snitch and the locations from snitch and this temporary topology should match. Signed-off-by: Pavel Emelyanov <xemul@scylladb.com>