]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
os/bluestore: Disable invoking unittest_deferred
authorAdam Kupczyk <akupczyk@ibm.com>
Tue, 29 Oct 2024 08:08:31 +0000 (08:08 +0000)
committerAdam Kupczyk <akupczyk@ibm.com>
Tue, 29 Oct 2024 08:08:31 +0000 (08:08 +0000)
There is no value in invoking unittest_deferred expect via
run_test_deferred.sh script.

Fixes: https://tracker.ceph.com/issues/68718
Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
src/test/objectstore/CMakeLists.txt
src/test/objectstore/run_test_deferred.sh

index bddff3f6727625805713d5e4e3e6b5c31124b19c..60e131a02f7776943a0e22e973d5cf1a4502582c 100644 (file)
@@ -112,12 +112,11 @@ if(WITH_BLUESTORE)
   add_ceph_unittest(unittest_bdev)
   target_link_libraries(unittest_bdev os global)
 
-  # unittest_deferred
-  add_executable(unittest_deferred
+  # test_corrupt_deferred
+  add_executable(test_corrupt_deferred
     test_deferred.cc
     )
-  add_ceph_unittest(unittest_deferred)
-  target_link_libraries(unittest_deferred os global)
+  target_link_libraries(test_corrupt_deferred os global)
 
 endif(WITH_BLUESTORE)
 
index 1be4d91048e40e7a25aede938990bec2f3443f8c..49f7ce4a79430b85969b2ff1782a4696dfad6ddd 100755 (executable)
@@ -1,10 +1,10 @@
 #!/bin/bash
 
 
-if [[ ! (-x ./bin/unittest_deferred) || ! (-x ./bin/ceph-kvstore-tool) || ! (-x ./bin/ceph-bluestore-tool)]]
+if [[ ! (-x ./bin/test_corrupt_deferred) || ! (-x ./bin/ceph-kvstore-tool) || ! (-x ./bin/ceph-bluestore-tool)]]
 then
     echo Test must be run from ceph build directory
-    echo with unittest_deferred, ceph-kvstore-tool and ceph-bluestore-tool compiled
+    echo with test_corrupt_deferred, ceph-kvstore-tool and ceph-bluestore-tool compiled
     exit 1
 fi
 
@@ -21,7 +21,7 @@ fi
 # Repeat for Object-0 to Object-8.
 
 # Right after getting notification on_complete for all 9 transactions, immediately exit(1).
-./bin/unittest_deferred --log-to-stderr=false
+./bin/test_corrupt_deferred --log-to-stderr=false
 
 # Now we should have a considerable amount of pending deferred writes.
 # They do refer disk regions that do not belong to any object.