Commit 3e2b0689 authored by Karol Latecki's avatar Karol Latecki Committed by Ben Walker
Browse files

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: default avatarKarol Latecki <karol.latecki@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/468807


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
parent de5c7b8a
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -177,10 +177,9 @@ if [ $SPDK_RUN_FUNCTIONAL_TEST -eq 1 ]; then
		# Only test hotplug without ASAN enabled. Since if it is
		# enabled, it catches SEGV earlier than our handler which
		# breaks the hotplug logic.
		# Temporary workaround for issue #542, annotated for no VM image.
		#if [ $SPDK_RUN_ASAN -eq 0 ]; then
		#	run_test suite test/nvme/hotplug.sh intel
		#fi
		if [ $SPDK_RUN_ASAN -eq 0 ]; then
			run_test suite test/nvme/hotplug.sh intel
		fi
	fi

	if [ $SPDK_TEST_IOAT -eq 1 ]; then
+2 −2
Original line number Diff line number Diff line
@@ -78,8 +78,8 @@ function devices_delete() {
}

password=$1
base_img=${DEPENDENCY_DIR}/fedora24.img
test_img=${DEPENDENCY_DIR}/fedora24_test.img
base_img=${DEPENDENCY_DIR}/fedora-hotplug.qcow2
test_img=${DEPENDENCY_DIR}/fedora-hotplug-test.qcow2
qemu_pidfile=${DEPENDENCY_DIR}/qemupid

if [ ! -e "$base_img" ]; then