]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
test: Use pids instead of jobspecs which were wrong
authorDavid Zafman <dzafman@redhat.com>
Thu, 16 Aug 2018 21:30:09 +0000 (14:30 -0700)
committerDavid Zafman <dzafman@redhat.com>
Wed, 22 Aug 2018 17:57:04 +0000 (10:57 -0700)
Fixes: http://tracker.ceph.com/issues/27056
Signed-off-by: David Zafman <dzafman@redhat.com>
qa/standalone/osd/ec-error-rollforward.sh

index e3a6480a58adf23a2e8b86437d7f5493d0bc7026..cfbf2871927fadca64444e5d41e3caf14dcb0a96 100755 (executable)
@@ -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