]> git.ipfire.org Git - thirdparty/git.git/commit
t-reftable-stack: add test for non-default compaction factor
authorChandra Pratap <chandrapratap3519@gmail.com>
Sun, 8 Sep 2024 04:06:00 +0000 (09:36 +0530)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Sep 2024 17:12:56 +0000 (10:12 -0700)
commite87952443a90fae9690db6c8dbf05d9ba97541ba
tree99caf29f2e70f48883f827fbec78d2cccd8c2e7a
parent1052280136cab7698e325289f6fac2af8fd7534e
t-reftable-stack: add test for non-default compaction factor

In a recent codebase update (commit ae8e378430, merge branch
'ps/reftable-write-options', 2024/05/13) the geometric factor used
in auto-compaction of reftable tables was made configurable. Add
a test to verify the functionality introduced by this update.

Mentored-by: Patrick Steinhardt <ps@pks.im>
Mentored-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Chandra Pratap <chandrapratap3519@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/unit-tests/t-reftable-stack.c