test/common: add stop.sh in ceph setup testting
Add stop.sh before start.sh,to avoid reporting resource busy it could lead to start failed. Change-Id: I1756adaad31937a7a4b95fdc488f2334360d4ac2 Signed-off-by: yidong0635 <dongx.yi@intel.com> Reviewed-on: https://review.gerrithub.io/437616 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
This commit is contained in:
parent
ebac2feba5
commit
6907c36f2c
@ -456,6 +456,7 @@ function rbd_setup() {
|
||||
export PG_NUM=128
|
||||
export RBD_POOL=rbd
|
||||
export RBD_NAME=foo
|
||||
$NS_CMD $rootdir/scripts/ceph/stop.sh || true
|
||||
$NS_CMD $rootdir/scripts/ceph/start.sh $1
|
||||
|
||||
$NS_CMD ceph osd pool create $RBD_POOL $PG_NUM || true
|
||||
|
Loading…
Reference in New Issue
Block a user