Files
scylladb/test/boost/commitlog_test.cc
Botond Dénes ad7647c3c7 test/commitlog: reduce resource usage in test_commitlog_handle_replayed_segments
The test was using max_size_mb = 8*1024 (8 GB) with 100 iterations,
causing it to create up to 260 files of 32 MB each per iteration via
fallocate. On a loaded CI machine this totals hundreds of GB of file
operations, easily exceeding the 15-minute test timeout (SCYLLADB-1496).

The test only needs enough files to verify that delete_segments keeps
the disk footprint within [shard_size, shard_size + seg_size]. Reduce
max_size_mb to 128 (8 files of 32 MB per iteration) and the iteration
count to 10, which is sufficient to exercise the serialized-deletion
and recycle logic without imposing excessive I/O load.

Closes scylladb/scylladb#29510
2026-04-20 11:02:25 +03:00

91 KiB