Skip to content

Commit f1e0215

Browse files
committed
qs/standalone/scrub: modify osd-scrub-snaps.sh to match
ceph-objectstore-tool changes A previous commit (2e54b2a) modified ceph-objectstore-tool to no longer accept the 'clear-snapset' command with no arguments. This PR modifies the osd-scrub-snaps.sh test script, to match that change. Fixes: https://tracker.ceph.com/issues/73900 Signed-off-by: Ronen Friedman <[email protected]>
1 parent 07cc856 commit f1e0215

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qa/standalone/scrub/osd-scrub-snaps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ function create_scenario() {
142142
ceph-objectstore-tool --data-path $dir/${osd} "$JSON" set-bytes $TESTDATA || return 1
143143

144144
JSON="$(ceph-objectstore-tool --data-path $dir/${osd} --head --op list obj6)"
145-
ceph-objectstore-tool --data-path $dir/${osd} "$JSON" clear-snapset || return 1
145+
ceph-objectstore-tool --data-path $dir/${osd} "$JSON" clear-snapset clones || return 1
146146
JSON="$(ceph-objectstore-tool --data-path $dir/${osd} --head --op list obj7)"
147147
ceph-objectstore-tool --data-path $dir/${osd} "$JSON" clear-snapset corrupt || return 1
148148
JSON="$(ceph-objectstore-tool --data-path $dir/${osd} --head --op list obj8)"

0 commit comments

Comments
 (0)