test/store_test: fix bluestore test cases disablement

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
This commit is contained in:
Igor Fedotov 2017-03-29 16:34:00 +00:00
parent 4b73fcb070
commit 51542d9acd

View 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;