TEST_F(LibRadosTwoPoolsPP, SetChunkRead) {
// skip test if not yet mimic
if (_get_required_osd_release(cluster) < "mimic") {
- cout << "cluster is not yet mimic, skipping test" << std::endl;
- return;
+ GTEST_SKIP() << "cluster is not yet mimic, skipping test";
}
// create object
TEST_F(LibRadosTwoPoolsPP, ManifestPromoteRead) {
// skip test if not yet mimic
if (_get_required_osd_release(cluster) < "mimic") {
- cout << "cluster is not yet mimic, skipping test" << std::endl;
- return;
+ GTEST_SKIP() << "cluster is not yet mimic, skipping test";
}
// create object
TEST_F(LibRadosTwoPoolsPP, ManifestUnset) {
// skip test if not yet nautilus
if (_get_required_osd_release(cluster) < "nautilus") {
- cout << "cluster is not yet nautilus, skipping test" << std::endl;
- return;
+ GTEST_SKIP() << "cluster is not yet nautilus, skipping test";
}
// create object
TEST_F(LibRadosTwoPoolsPP, ManifestDedupRefRead) {
// skip test if not yet nautilus
if (_get_required_osd_release(cluster) < "nautilus") {
- cout << "cluster is not yet nautilus, skipping test" << std::endl;
- return;
+ GTEST_SKIP() << "cluster is not yet nautilus, skipping test";
}
bufferlist inbl;
TEST_F(LibRadosTwoPoolsPP, ManifestFlushRead) {
// skip test if not yet octopus
if (_get_required_osd_release(cluster) < "octopus") {
- cout << "cluster is not yet octopus, skipping test" << std::endl;
- return;
+ GTEST_SKIP() << "cluster is not yet octopus, skipping test";
}
// create object