From: Yan Jun Date: Thu, 27 Jul 2017 07:57:03 +0000 (+0800) Subject: test/librados: reorder parameter X-Git-Tag: v13.0.0~108^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cc1f14827ed9c1cb4e7d3b6578935bb579df0726;p=ceph.git test/librados: reorder parameter Signed-off-by: Yan Jun --- diff --git a/src/test/librados/watch_notify.cc b/src/test/librados/watch_notify.cc index 3ea9bead7582..a525d518ffad 100644 --- a/src/test/librados/watch_notify.cc +++ b/src/test/librados/watch_notify.cc @@ -173,7 +173,7 @@ TEST_P(LibRadosWatchNotifyPP, WatchNotify) { ASSERT_EQ(0, ioctx.watch("foo", 0, &handle, &ctx)); std::list watches; ASSERT_EQ(0, ioctx.list_watchers("foo", &watches)); - ASSERT_EQ(watches.size(), 1u); + ASSERT_EQ(1u, watches.size()); bufferlist bl2; ASSERT_EQ(0, ioctx.notify("foo", 0, bl2)); TestAlarm alarm; @@ -209,7 +209,7 @@ TEST_F(LibRadosWatchNotifyECPP, WatchNotify) { ASSERT_EQ(0, ioctx.watch("foo", 0, &handle, &ctx)); std::list watches; ASSERT_EQ(0, ioctx.list_watchers("foo", &watches)); - ASSERT_EQ(watches.size(), 1u); + ASSERT_EQ(1u, watches.size()); bufferlist bl2; ASSERT_EQ(0, ioctx.notify("foo", 0, bl2)); TestAlarm alarm;