From f52446ebb548a9ec3880addb74e06a797fe9cdf0 Mon Sep 17 00:00:00 2001 From: bowang Date: Fri, 29 Jul 2022 15:35:17 -0700 Subject: [PATCH] Add CompressedSecondaryCache into stress test --- tools/db_crashtest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/db_crashtest.py b/tools/db_crashtest.py index 6edcc429ad8..3c11bddb439 100644 --- a/tools/db_crashtest.py +++ b/tools/db_crashtest.py @@ -179,7 +179,8 @@ "async_io": lambda: random.choice([0, 1]), "wal_compression": lambda: random.choice(["none", "zstd"]), "verify_sst_unique_id_in_manifest": 1, # always do unique_id verification - "secondary_cache_uri": "", + "secondary_cache_uri": lambda: random.choice( + ["", "compressed_secondary_cache://capacity=8388608"]), "allow_data_in_errors": True, }