summaryrefslogtreecommitdiffstats
path: root/src/test/system/st_rados_watch.h
diff options
context:
space:
mode:
authorSamuel Just <sam.just@inktank.com>2014-03-11 19:25:47 +0100
committerSamuel Just <sam.just@inktank.com>2014-03-13 00:26:00 +0100
commit9d549eb2f456b2d6b493c34eccbf72eb372281f6 (patch)
tree66b5ac2d35bc4465032ecc3ac29e793918e02a0f /src/test/system/st_rados_watch.h
parentReplicatedPG: CEPH_OSD_OP_WATCH return -ENOENT if !obs.exists (diff)
downloadceph-9d549eb2f456b2d6b493c34eccbf72eb372281f6.tar.xz
ceph-9d549eb2f456b2d6b493c34eccbf72eb372281f6.zip
test/system/st_rados_watch: expect ENOENT for watch on non-existent object
Signed-off-by: Samuel Just <sam.just@inktank.com>
Diffstat (limited to '')
-rw-r--r--src/test/system/st_rados_watch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/system/st_rados_watch.h b/src/test/system/st_rados_watch.h
index e5ae1304b18..e3e78c0cc0e 100644
--- a/src/test/system/st_rados_watch.h
+++ b/src/test/system/st_rados_watch.h
@@ -38,6 +38,7 @@ public:
CrossProcessSem *watch_sem,
CrossProcessSem *notify_sem,
int num_notifies,
+ int watch_retcode,
const std::string &pool_name,
const std::string &obj_name);
~StRadosWatch();
@@ -47,6 +48,7 @@ private:
CrossProcessSem *m_watch_sem;
CrossProcessSem *m_notify_sem;
int m_num_notifies;
+ int m_watch_retcode;
std::string m_pool_name;
std::string m_obj_name;
};