diff options
author | Igor Fedotov <ifedotov@suse.com> | 2018-08-27 15:22:56 +0200 |
---|---|---|
committer | Igor Fedotov <ifedotov@suse.com> | 2018-08-27 15:24:41 +0200 |
commit | d7b45b6f38c8d24857b98803bf27177dce2a12c2 (patch) | |
tree | 13c75fe53337b503ca28a3efbb8c6668e9939da4 /src/test/objectstore | |
parent | Merge pull request #23391 from votdev/cleanup_25161 (diff) | |
download | ceph-d7b45b6f38c8d24857b98803bf27177dce2a12c2.tar.xz ceph-d7b45b6f38c8d24857b98803bf27177dce2a12c2.zip |
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 <ifedotov@suse.com>
Diffstat (limited to 'src/test/objectstore')
-rw-r--r-- | src/test/objectstore/store_test.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/objectstore/store_test.cc b/src/test/objectstore/store_test.cc index 57b98969653..ef9520d4d79 100644 --- a/src/test/objectstore/store_test.cc +++ b/src/test/objectstore/store_test.cc @@ -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); |