From: Kefu Chai Date: Wed, 24 Oct 2018 14:16:30 +0000 (+0800) Subject: os/tests: should read size_t options using get_val() X-Git-Tag: v14.1.0~1080^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F24736%2Fhead;p=ceph.git os/tests: should read size_t options using get_val() Signed-off-by: Kefu Chai --- diff --git a/src/test/objectstore/store_test.cc b/src/test/objectstore/store_test.cc index 98706a1d23e4..8366469b5cb4 100644 --- a/src/test/objectstore/store_test.cc +++ b/src/test/objectstore/store_test.cc @@ -7325,7 +7325,7 @@ TEST_P(StoreTest, allocateBlueFSTest) { struct store_statfs_t statfs; store->statfs(&statfs); - uint64_t to_alloc = g_conf().get_val("bluefs_alloc_size"); + uint64_t to_alloc = g_conf().get_val("bluefs_alloc_size"); int r = bstore->allocate_bluefs_freespace(to_alloc); ASSERT_EQ(r, 0);