]> git.ipfire.org Git - thirdparty/git.git/commit
reftable/stack: test compaction with already-locked tables
authorPatrick Steinhardt <ps@pks.im>
Thu, 8 Aug 2024 14:06:29 +0000 (16:06 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 8 Aug 2024 17:14:42 +0000 (10:14 -0700)
commit8030100bdafc508eaa7900ebcfd67a2d6b02749e
tree813f574b17235feb5be4f588bd776e1970349e0f
parent9a833ca35dfcefa0e431da5f7dcdc2e58f38469d
reftable/stack: test compaction with already-locked tables

We're lacking test coverage for compacting tables when some of the
tables that we are about to compact are locked. Add two tests that
exercise this, one for auto-compaction and one for full compaction.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
reftable/stack_test.c