mirror of
https://github.com/ceph/ceph
synced 2025-02-15 23:07:55 +00:00
test: Use pids instead of jobspecs which were wrong
Fixes: http://tracker.ceph.com/issues/27056 Signed-off-by: David Zafman <dzafman@redhat.com>
This commit is contained in:
parent
52788b2966
commit
bc33170310
@ -40,13 +40,18 @@ function TEST_ec_error_rollforward() {
|
||||
kill -STOP `cat $dir/osd.2.pid`
|
||||
|
||||
rados -p ec rm foo &
|
||||
pids="$!"
|
||||
sleep 1
|
||||
rados -p ec rm a &
|
||||
pids+=" $!"
|
||||
rados -p ec rm b &
|
||||
pids+=" $!"
|
||||
rados -p ec rm c &
|
||||
pids+=" $!"
|
||||
sleep 1
|
||||
kill -9 `cat $dir/osd.?.pid`
|
||||
kill %1 %2 %3 %4
|
||||
kill $pids
|
||||
wait
|
||||
|
||||
run_osd $dir 0 || return 1
|
||||
run_osd $dir 1 || return 1
|
||||
|
Loading…
Reference in New Issue
Block a user