]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/tests: fix garbageCollection test case from store_test. 27056/head
authorIgor Fedotov <ifedotov@suse.com>
Mon, 27 Aug 2018 13:22:56 +0000 (16:22 +0300)
committerIgor Fedotov <ifedotov@suse.com>
Wed, 20 Mar 2019 14:15:38 +0000 (17:15 +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 9f8e66ed2c60f9ed065fcbbc8c5526690696f751..518d5ec88ce63f9b5c79f3e5d5f2e92204176764 100644 (file)
@@ -6710,6 +6710,7 @@ TEST_P(StoreTestSpecificAUSize, garbageCollection) {
 
   g_conf->set_val("bluestore_compression_max_blob_size", "524288");
   g_conf->set_val("bluestore_compression_min_blob_size", "262144");
+  g_conf->set_val("bluestore_max_blob_size", "524288");
   g_conf->set_val("bluestore_compression_mode", "force");
   g_conf->apply_changes(NULL);