diff options
author | Tor Brede Vekterli <vekterli@yahooinc.com> | 2022-11-28 15:22:37 +0000 |
---|---|---|
committer | Tor Brede Vekterli <vekterli@yahooinc.com> | 2022-11-28 15:22:37 +0000 |
commit | 8bb287d2f9feb7e5def1fe2c241e72fdf8956f0e (patch) | |
tree | d2e86b6c796c401579c3177064cba92cddef59cf /storage/src | |
parent | cd75ec563465a63df5b11deed0ee7205f4e46e3a (diff) |
Be more explicit about previous GC timestamp in test
Diffstat (limited to 'storage/src')
-rw-r--r-- | storage/src/tests/distributor/top_level_distributor_test.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/storage/src/tests/distributor/top_level_distributor_test.cpp b/storage/src/tests/distributor/top_level_distributor_test.cpp index a64e94a5e66..2ab37a21ec4 100644 --- a/storage/src/tests/distributor/top_level_distributor_test.cpp +++ b/storage/src/tests/distributor/top_level_distributor_test.cpp @@ -650,8 +650,11 @@ TEST_F(TopLevelDistributorTest, gc_timestamps_reset_to_current_time_on_gc_enable BucketId b3(16, 3); add_nodes_to_stripe_bucket_db(b1, "0=1/1/1/t/a"); + set_bucket_last_gc_time(b1, 100); add_nodes_to_stripe_bucket_db(b2, "0=2/2/2/t/a"); + set_bucket_last_gc_time(b2, 101); add_nodes_to_stripe_bucket_db(b3, "0=3/3/3/t/a"); + set_bucket_last_gc_time(b3, 102); // Reconfigure GC interval from 0 (disabled) to 3600 (enabled). auto cfg = current_distributor_config(); |