From: Igor Fedotov Date: Wed, 7 Mar 2018 12:42:34 +0000 (+0300) Subject: test/mon/PGMap: fix the test case X-Git-Tag: v14.1.0~692^2~12 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=24944bdfb41886f353f50e35fb9661703fbf4302;p=ceph.git test/mon/PGMap: fix the test case Signed-off-by: Igor Fedotov --- diff --git a/src/test/mon/PGMap.cc b/src/test/mon/PGMap.cc index 190478ec8abd..45a66ffd1bff 100644 --- a/src/test/mon/PGMap.cc +++ b/src/test/mon/PGMap.cc @@ -64,9 +64,10 @@ TEST(pgmap, dump_object_stat_sum_0) sum.num_rd_kb = 123; sum.num_wr = 101; sum.num_wr_kb = 321; + pool_stat.num_store_stats = 3; store_statfs_t &statfs = pool_stat.store_stats; - statfs.data_stored = 42 * 1024 * 1024 - 5; - statfs.allocated = 42 * 1024 * 1024 * 2; + statfs.data_stored = 40 * 1024 * 1024; + statfs.allocated = 41 * 1024 * 1024 * 2; statfs.data_compressed_allocated = 4334; statfs.data_compressed_original = 1213;