r = queue_transaction(store, tch, std::move(t));
ASSERT_EQ(r, 0);
}
+ tch->flush();
ObjectStore::Transaction t;
vector<ghobject_t> objects;
r = queue_transaction(store, ch, std::move(t));
ASSERT_EQ(r, 0);
t = ObjectStore::Transaction();
+
+ // test environment may have a low open file limit
+ ch->flush();
}
}
+ t.remove_collection(cid);
+ r = queue_transaction(store, ch, std::move(t));
+ t = ObjectStore::Transaction();
+
objects.clear();
r = store->collection_list(tch, ghobject_t(), ghobject_t::get_max(),
INT_MAX, &objects, 0);
r = queue_transaction(store, tch, std::move(t));
ASSERT_EQ(r, 0);
t = ObjectStore::Transaction();
+
+ // test environment may have a low open file limit
+ tch->flush();
}
}
- t.remove_collection(cid);
t.remove_collection(tid);
r = queue_transaction(store, tch, std::move(t));
ASSERT_EQ(r, 0);