]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/tests: fix garbageCollection test case from store_test. 27055/head
authorIgor Fedotov <ifedotov@suse.com>
Mon, 27 Aug 2018 13:22:56 +0000 (16:22 +0300)
committerIgor Fedotov <ifedotov@suse.com>
Thu, 25 Apr 2019 08:40:13 +0000 (11:40 +0300)
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 <ifedotov@suse.com>
(cherry picked from commit d7b45b6f38c8d24857b98803bf27177dce2a12c2)

src/test/objectstore/store_test.cc

index c0341311c399f481e289767121b857bf5faaac20..90ede5c4875508f83aead1a0f2f4b8eb410fe2e8 100644 (file)
@@ -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);