diff --git a/test/common/autotest_common.sh b/test/common/autotest_common.sh index 229f6cb4f..00a8b4203 100755 --- a/test/common/autotest_common.sh +++ b/test/common/autotest_common.sh @@ -490,6 +490,8 @@ function part_dev_by_gpt () { dd if=/dev/zero of=$nbd_path bs=4096 count=8 oflag=direct fi + $rootdir/scripts/rpc.py -s "$rpc_server" stop_nbd_disk $nbd_path + killprocess $nbd_pid rm -f ${conf}.gpt fi