From: root Date: Mon, 7 Nov 2016 13:35:50 +0000 (+0100) Subject: librados: Fixed check of return value in aio tests of rados X-Git-Tag: v11.1.0~355^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F10049%2Fhead;p=ceph.git librados: Fixed check of return value in aio tests of rados Signed-off-by: Sebastien Ponce --- diff --git a/src/test/librados/aio.cc b/src/test/librados/aio.cc index 8a9c5338e8f0..bccfd8a116d5 100644 --- a/src/test/librados/aio.cc +++ b/src/test/librados/aio.cc @@ -1054,7 +1054,7 @@ TEST(LibRadosIoPP, XattrListPP) { TestAlarm alarm; ASSERT_EQ(0, my_completion->wait_for_complete()); } - ASSERT_EQ(-ENODATA, my_completion->get_return_value()); + ASSERT_EQ(0, my_completion->get_return_value()); for (std::map::iterator i = attrset.begin(); i != attrset.end(); ++i) { if (i->first == string(attr1)) {