]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
t/cindex: fix broken size checks
authorEric Wong <e@80x24.org>
Sun, 26 Oct 2025 20:59:00 +0000 (20:59 +0000)
committerEric Wong <e@80x24.org>
Mon, 27 Oct 2025 17:40:53 +0000 (17:40 +0000)
commit166f0dd5c6ed608edd88749380410e79e0aef9aa
tree77a04ce43d283fb51699a16ed83f9cd637d7ad1d
parentb773f02ae315f1d7e9f92cd5b878255f67974ff0
t/cindex: fix broken size checks

Xapian size checks aren't accurate unless the shards are compacted.
Unfortunately, I commented out the -compact calls while working on
--split-shards but forgot to re-add them :x   So re-enable the
-compact calls and add an extra flag so we can skip size checks
when xapian-compact(1) is missing.

Fixes: 622e8c89 (*search: introduce open.lock for reader safety, 2025-10-08)
t/cindex.t