From 0c02a565ee8df1af3f75b4aac5b8d90b36f91109 Mon Sep 17 00:00:00 2001 From: Igor Fedotov Date: Mon, 27 Aug 2018 16:22:56 +0300 Subject: [PATCH] os/tests: fix garbageCollection test case from store_test. While running the test case using SSD as block device one could face a failure caused by unexpectidly small blob size limit - compression resulted in two blocks rather than single one which violated was test case constraints. Signed-off-by: Igor Fedotov (cherry picked from commit d7b45b6f38c8d24857b98803bf27177dce2a12c2) --- src/test/objectstore/store_test.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/objectstore/store_test.cc b/src/test/objectstore/store_test.cc index c0341311c39..90ede5c4875 100644 --- a/src/test/objectstore/store_test.cc +++ b/src/test/objectstore/store_test.cc @@ -6696,6 +6696,7 @@ TEST_P(StoreTestSpecificAUSize, garbageCollection) { SetVal(g_conf, "bluestore_compression_max_blob_size", "524288"); SetVal(g_conf, "bluestore_compression_min_blob_size", "262144"); + SetVal(g_conf, "bluestore_max_blob_size", "524288"); SetVal(g_conf, "bluestore_compression_mode", "force"); g_conf->apply_changes(NULL); -- 2.47.3