test/nvme: re-enable nvme hotplug test
New VM image for nvme hotplug tests was crafted, test can be re-enabled. Fixes #524 Change-Id: Ie7e5e063cd94f2d1cad4b0826f1a51fb43577e6c Signed-off-by: Karol Latecki <karol.latecki@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/468807 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
de5c7b8a40
commit
3e2b0689a5
@ -177,10 +177,9 @@ if [ $SPDK_RUN_FUNCTIONAL_TEST -eq 1 ]; then
|
|||||||
# Only test hotplug without ASAN enabled. Since if it is
|
# Only test hotplug without ASAN enabled. Since if it is
|
||||||
# enabled, it catches SEGV earlier than our handler which
|
# enabled, it catches SEGV earlier than our handler which
|
||||||
# breaks the hotplug logic.
|
# breaks the hotplug logic.
|
||||||
# Temporary workaround for issue #542, annotated for no VM image.
|
if [ $SPDK_RUN_ASAN -eq 0 ]; then
|
||||||
#if [ $SPDK_RUN_ASAN -eq 0 ]; then
|
run_test suite test/nvme/hotplug.sh intel
|
||||||
# run_test suite test/nvme/hotplug.sh intel
|
fi
|
||||||
#fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $SPDK_TEST_IOAT -eq 1 ]; then
|
if [ $SPDK_TEST_IOAT -eq 1 ]; then
|
||||||
|
@ -78,8 +78,8 @@ function devices_delete() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
password=$1
|
password=$1
|
||||||
base_img=${DEPENDENCY_DIR}/fedora24.img
|
base_img=${DEPENDENCY_DIR}/fedora-hotplug.qcow2
|
||||||
test_img=${DEPENDENCY_DIR}/fedora24_test.img
|
test_img=${DEPENDENCY_DIR}/fedora-hotplug-test.qcow2
|
||||||
qemu_pidfile=${DEPENDENCY_DIR}/qemupid
|
qemu_pidfile=${DEPENDENCY_DIR}/qemupid
|
||||||
|
|
||||||
if [ ! -e "$base_img" ]; then
|
if [ ! -e "$base_img" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user