]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rados : Fixed initialization of AioUnlockPP test
authorroot <root@lxbre43a05.cern.ch>
Tue, 1 Nov 2016 15:57:59 +0000 (16:57 +0100)
committerroot <root@lxbre43a05.cern.ch>
Tue, 1 Nov 2016 15:57:59 +0000 (16:57 +0100)
Signed-off-by: Sebastien Ponce <sebastien.ponce@cern.ch>
src/test/librados/aio.cc

index 421050adcf506892d06d01a5efe38e2d23f79972..8a9c5338e8f02bd337cc9d7c222d173408789149 100644 (file)
@@ -2304,6 +2304,7 @@ TEST(LibRadosAio, AioUnlock) {
 
 TEST(LibRadosAio, AioUnlockPP) {
   AioTestDataPP test_data;
+  ASSERT_EQ("", test_data.init());
   ASSERT_EQ(0, test_data.m_ioctx.lock_exclusive("foo", "TestLock", "Cookie", "", NULL, 0));
   boost::scoped_ptr<AioCompletion> my_completion
     (test_data.m_cluster.aio_create_completion