From dcbbaa3c3458fb86f8b7b1d79f76b3218fca8764 Mon Sep 17 00:00:00 2001 From: Cunyin Chang Date: Thu, 10 Aug 2017 23:53:05 +0800 Subject: [PATCH] test: make sure the hotplug test case cover both "read" and "write". after we fix the "write" issue for hotplug of iscsi target, we should also modify the test case the cover "write" test case for hotplug. Change-Id: I5ef8d6836548d0f682ecfb44da41543e16e979de Signed-off-by: Cunyin Chang Reviewed-on: https://review.gerrithub.io/373799 Tested-by: SPDK Automated Test System Reviewed-by: Jim Harris Reviewed-by: Daniel Verkamp --- test/iscsi_tgt/fio/fio.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/iscsi_tgt/fio/fio.sh b/test/iscsi_tgt/fio/fio.sh index 9162e4ba5..599b03d5c 100755 --- a/test/iscsi_tgt/fio/fio.sh +++ b/test/iscsi_tgt/fio/fio.sh @@ -119,7 +119,7 @@ $rpc_py construct_target_node Target3 Target3_alias HotInNvme0n1:0 1:2 64 1 0 0 iscsiadm -m discovery -t sendtargets -p $TARGET_IP:$PORT iscsiadm -m node --login -p $TARGET_IP:$PORT sleep 1 -$fio_py 1048576 128 read 10 & +$fio_py 1048576 128 rw 10 & fio_pid=$! sleep 3