test/nbdjson: Fix solid/intermittent CI failure
In part_dev_by_gpt(), stop_nbd_disk is missing and it looks that this has caused solid/intermittent CI failure in the nbdjson test. Change-Id: I46b14fa3b7c91547b88f49b28d0cba252b00e8a2 Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/420123 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ziye Yang <optimistyzy@gmail.com> Reviewed-by: Paweł Niedźwiecki <pawelx.niedzwiecki@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
499b9aab0b
commit
d891b398a3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user