From 24944bdfb41886f353f50e35fb9661703fbf4302 Mon Sep 17 00:00:00 2001 From: Igor Fedotov Date: Wed, 7 Mar 2018 15:42:34 +0300 Subject: [PATCH] test/mon/PGMap: fix the test case Signed-off-by: Igor Fedotov --- src/test/mon/PGMap.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/test/mon/PGMap.cc b/src/test/mon/PGMap.cc index 190478ec8ab..45a66ffd1bf 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; -- 2.39.5