mirror of
https://github.com/ceph/ceph
synced 2025-01-02 00:52:22 +00:00
Merge pull request #1673 from ceph/wip-stress-watch
ceph_test_stress_watch: test over cache pool Reviewed-by: Samuel Just <sam.just@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
This commit is contained in:
commit
9f6f7d35a1
@ -14,6 +14,8 @@
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
||||
#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();
|
||||
|
Loading…
Reference in New Issue
Block a user