Skip to content

Commit 163d829

Browse files
committed
os/bluestore: Disable invoking unittest_deferred
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 <[email protected]>
1 parent 7c095b5 commit 163d829

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

src/test/objectstore/CMakeLists.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,11 @@ if(WITH_BLUESTORE)
112112
add_ceph_unittest(unittest_bdev)
113113
target_link_libraries(unittest_bdev os global)
114114

115-
# unittest_deferred
116-
add_executable(unittest_deferred
115+
# test_corrupt_deferred
116+
add_executable(test_corrupt_deferred
117117
test_deferred.cc
118118
)
119-
add_ceph_unittest(unittest_deferred)
120-
target_link_libraries(unittest_deferred os global)
119+
target_link_libraries(test_corrupt_deferred os global)
121120

122121
endif(WITH_BLUESTORE)
123122

src/test/objectstore/run_test_deferred.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/bin/bash
22

33

4-
if [[ ! (-x ./bin/unittest_deferred) || ! (-x ./bin/ceph-kvstore-tool) || ! (-x ./bin/ceph-bluestore-tool)]]
4+
if [[ ! (-x ./bin/test_corrupt_deferred) || ! (-x ./bin/ceph-kvstore-tool) || ! (-x ./bin/ceph-bluestore-tool)]]
55
then
66
echo Test must be run from ceph build directory
7-
echo with unittest_deferred, ceph-kvstore-tool and ceph-bluestore-tool compiled
7+
echo with test_corrupt_deferred, ceph-kvstore-tool and ceph-bluestore-tool compiled
88
exit 1
99
fi
1010

@@ -21,7 +21,7 @@ fi
2121
# Repeat for Object-0 to Object-8.
2222

2323
# Right after getting notification on_complete for all 9 transactions, immediately exit(1).
24-
./bin/unittest_deferred --log-to-stderr=false
24+
./bin/test_corrupt_deferred --log-to-stderr=false
2525

2626
# Now we should have a considerable amount of pending deferred writes.
2727
# They do refer disk regions that do not belong to any object.

0 commit comments

Comments
 (0)