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 <cunyin.chang@intel.com>
Reviewed-on: https://review.gerrithub.io/373799
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Cunyin Chang 2017-08-10 23:53:05 +08:00 committed by Daniel Verkamp
parent cd94507607
commit dcbbaa3c34

View File

@ -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