From 37ed4b60ba7a7ee1d428d810bff6e286d7859ea6 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 14 Apr 2014 15:57:28 -0700 Subject: [PATCH] ceph_test_stress_watch: test over cache pool Signed-off-by: Sage Weil --- src/test/test_stress_watch.cc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/test/test_stress_watch.cc b/src/test/test_stress_watch.cc index 1b8f1904d411c..52b480b4576c2 100644 --- a/src/test/test_stress_watch.cc +++ b/src/test/test_stress_watch.cc @@ -14,6 +14,8 @@ #include #include +#include "test/librados/TestCase.h" + using namespace librados; using ceph::buffer; @@ -54,7 +56,13 @@ struct WatcherUnwatcher : public Thread { return NULL; } }; -TEST(WatchStress, Stress1) { + +typedef RadosTestParamPP WatchStress; + +INSTANTIATE_TEST_CASE_P(WatchStressTests, WatchStress, + ::testing::Values("", "cache")); + +TEST_P(WatchStress, Stress1) { ASSERT_EQ(0, sem_init(&sem, 0, 0)); Rados ncluster; std::string pool_name = get_temp_pool_name(); -- 2.39.5