test.py: add --run-internet-dependent-tests

Later, we will add upgrade tests, which need to download the previous
release of Scylla from the internet.

Internet access is a major dependency, so we want to make those tests
opt-in for now.

(cherry picked from commit d3cb873532)
This commit is contained in:
Michał Chojnowski
2025-03-17 23:30:08 +01:00
committed by Michał Chojnowski
parent 06d6718f3b
commit 1446b4e0ef
3 changed files with 6 additions and 0 deletions

View File

@@ -200,6 +200,8 @@ def parse_cmd_line() -> argparse.Namespace:
help='Let me manually run the test executable at the moment this script would run it')
parser.add_argument('--byte-limit', action="store", default=randint(0, 2000), type=int,
help="Specific byte limit for failure injection (random by default)")
parser.add_argument('--skip-internet-dependent-tests', action="store_true",
help="Skip tests which depend on artifacts from the internet.")
scylla_additional_options = parser.add_argument_group('Additional options for Scylla tests')
scylla_additional_options.add_argument('--x-log2-compaction-groups', action="store", default="0", type=int,
help="Controls number of compaction groups to be used by Scylla tests. Value of 3 implies 8 groups.")