From: Sage Weil Date: Thu, 11 Dec 2014 14:29:39 +0000 (-0800) Subject: ceph_test_rados_api_watch_notify: print err to debug X-Git-Tag: v0.91~64 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=008d788f9b3a27f6fbd32d7e4ac8e525c9b408b6;p=ceph.git ceph_test_rados_api_watch_notify: print err to debug Signed-off-by: Sage Weil --- diff --git a/src/test/librados/watch_notify.cc b/src/test/librados/watch_notify.cc index 3e508025a9be..c28eb9f75e6d 100644 --- a/src/test/librados/watch_notify.cc +++ b/src/test/librados/watch_notify.cc @@ -66,7 +66,7 @@ static void watch_notify2_test_cb(void *arg, static void watch_notify2_test_errcb(void *arg, uint64_t cookie, int err) { - std::cout << __func__ << " cookie " << cookie << std::endl; + std::cout << __func__ << " cookie " << cookie << " err " << err << std::endl; assert(cookie > 1000); notify_err = err; } @@ -89,7 +89,8 @@ public: } void handle_error(uint64_t cookie, int err) { - std::cout << __func__ << " cookie " << cookie << std::endl; + std::cout << __func__ << " cookie " << cookie + << " err " << err << std::endl; assert(cookie > 1000); notify_err = err; }