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 @@ -124,12 +124,11 @@ if(WITH_BLUESTORE)
124124 add_ceph_unittest(unittest_bdev)
125125 target_link_libraries (unittest_bdev os global )
126126
127- # unittest_deferred
128- add_executable (unittest_deferred
127+ # test_corrupt_deferred
128+ add_executable (test_corrupt_deferred
129129 test_deferred.cc
130130 )
131- add_ceph_unittest(unittest_deferred)
132- target_link_libraries (unittest_deferred os global )
131+ target_link_libraries (test_corrupt_deferred os global )
133132
134133endif (WITH_BLUESTORE)
135134
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