File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff 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
122121endif (WITH_BLUESTORE)
123122
Original file line number Diff line number Diff line change 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)]]
55then
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
99fi
1010
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.
You can’t perform that action at this time.
0 commit comments