]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/tests: fix garbageCollection test case from store_test. 23752/head
authorIgor Fedotov <ifedotov@suse.com>
Mon, 27 Aug 2018 13:22:56 +0000 (16:22 +0300)
committerIgor Fedotov <ifedotov@suse.com>
Mon, 27 Aug 2018 13:24:41 +0000 (16:24 +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>
src/test/objectstore/store_test.cc

index 57b98969653168147d5257b64acfce7cf8070963..ef9520d4d79df9baa95f1254b6d7a163671fbce2 100644 (file)
@@ -6668,6 +6668,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(nullptr);