]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/librados_test_stub/TestMemIoCtxImpl.cc: blacklist -> blocklist
authorNeha Ojha <nojha@redhat.com>
Fri, 7 Aug 2020 19:19:55 +0000 (19:19 +0000)
committerNeha Ojha <nojha@redhat.com>
Mon, 24 Aug 2020 19:53:08 +0000 (19:53 +0000)
Signed-off-by: Neha Ojha <nojha@redhat.com>
src/test/librados_test_stub/TestMemIoCtxImpl.cc

index bdcc4ee3da95fb6e20961eaac6c818c891048478..6c004af007b8b272109416182c4b2b19091cbb8a 100644 (file)
@@ -100,8 +100,8 @@ int TestMemIoCtxImpl::assert_exists(const std::string &oid, uint64_t snap_id) {
 }
 
 int TestMemIoCtxImpl::assert_version(const std::string &oid, uint64_t ver) {
-  if (m_client->is_blacklisted()) {
-    return -EBLACKLISTED;
+  if (m_client->is_blocklisted()) {
+    return -EBLOCKLISTED;
   }
 
   std::shared_lock l{m_pool->file_lock};