From: David Zafman Date: Thu, 16 Aug 2018 21:30:09 +0000 (-0700) Subject: test: Use pids instead of jobspecs which were wrong X-Git-Tag: v13.2.2~35^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F23893%2Fhead;p=ceph.git test: Use pids instead of jobspecs which were wrong Fixes: http://tracker.ceph.com/issues/27056 Signed-off-by: David Zafman (cherry picked from commit bc3317031057b5737710a095ce593135b62f9302) --- diff --git a/qa/standalone/osd/ec-error-rollforward.sh b/qa/standalone/osd/ec-error-rollforward.sh index e3a6480a58ad..cfbf2871927f 100755 --- a/qa/standalone/osd/ec-error-rollforward.sh +++ b/qa/standalone/osd/ec-error-rollforward.sh @@ -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