]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/store_test: fix bluestore test cases disablement 14228/head
authorIgor Fedotov <ifedotov@mirantis.com>
Wed, 29 Mar 2017 16:34:00 +0000 (16:34 +0000)
committerIgor Fedotov <ifedotov@mirantis.com>
Wed, 29 Mar 2017 16:34:00 +0000 (16:34 +0000)
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
src/test/objectstore/store_test.cc

index 5c9b62930f99659cdf062a5b7c64be51aaa895e6..2a69c72364cc5b37db4d5d61ba811ba20b5f0a99 100644 (file)
@@ -5689,6 +5689,7 @@ TEST_P(StoreTest, TooManyBlobsTest) {
   ASSERT_EQ(res_stat.allocated, max_object);
 }
 
+#if defined(HAVE_LIBAIO)
 void get_mempool_stats(uint64_t* total_bytes, uint64_t* total_items)
 {
   uint64_t onode_allocated = mempool::bluestore_meta_onode::allocated_bytes();
@@ -6326,6 +6327,8 @@ TEST_P(StoreTestSpecificAUSize, SmallWriteOnShardedExtents) {
   g_conf->set_val("bluestore_csum_type", "crc32c");
 }
 
+#endif //#if defined(HAVE_LIBAIO)
+
 TEST_P(StoreTest, KVDBHistogramTest) {
   if (string(GetParam()) != "bluestore")
     return;