Re: [PATCH 0/8] reftable: small set of fixes
- From
Han-Wen Nienhuys <hanwenn@gmail.com>
- Date
- Dec 21, 2023, 11:08 UTC
- Message-ID
- <CAOw_e7ZJ1HRw1VkB0r65NWrd9DGrKpJ+FiAGUUpPQpXwZvDW-A@mail.gmail.com>
- In-Reply-To
- <cover.1700549493.git.ps@pks.im>
On Tue, Nov 21, 2023 at 8:07 AM Patrick Steinhardt <ps@pks.im> wrote:
> It's a bit unfortunate that we don't yet have good test coverage as > there are no end-to-end tests, and most of the changes I did are not > easily testable in unit tests. So until the reftable backend gets
..
> reftable/stack: perform auto-compaction with transactional interface
you can test autocompaction more precisely using the stats in reftable_compaction_stats. See https://github.com/hanwen/reftable/blob/master/stack_test.go#L126 for an example.
-- Han-Wen Nienhuys - hanwenn@gmail.com - http://www.xs4all.nl/~hanwen