Tests in test_out_of_space_prevention.py spend a large fraction of time creating a random “blob” file to cross the 0.8 critical disk utilization threshold. With 100MB volumes this requires writing ~70–80MB of data, which is slow inside Docker/Podman-backed volumes. Most tests only use ~11MB of data, so large volumes are unnecessary. Reduce the test volume size to 20MB so the critical threshold is reached at ~16MB and the blob file is much smaller. This cuts ~5–6s per test.
Extension of the cluster tests, where all tests require externally mounted volumes to be used by scylla cluster nodes. The volumes are passed with --workdir.
The volumes can be of any size. A help generator space_limited_servers is provided
to easily create a cluster of any given number of nodes, where each node operates in
a separate volume.