mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-05 06:23:03 +00:00
The code in test/cql-pytest/run.py can start Scylla (or Cassandra, or Redis, etc.) in a random IP address in 127.*.*.*. We explained in a comment that 127.0.0.* is used by CCM so we avoid it in case someone runs both dtest and test.py in parallel on the same machine. But this observation was not accurate: Although the original CCM did use only 127.0.0.*, in Scylla's CCM we added in 2017, in commit 00d3ba5562567ab83190dd4580654232f4590962, the ability to run multiple copies of CCM in parallel; CCM now uses 127.0.*.*, not just 127.0.0.*. So we need to correct this in the comment. Luckily, the code doesn't need to change! We already avoided the entire 127.0.*.* for simplicity, not just 127.0.0.*. Signed-off-by: Nadav Har'El <nyh@scylladb.com> Message-Id: <20211212151339.1361451-1-nyh@scylladb.com>