test/iscsi: shorten FIO tests
Move the long verify to nightly testing only, and make the other FIO invocations shorter. Change-Id: Ic09b88aa16ad2ce62113821ad0c66dbf44a5721e Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
cc0091cf00
commit
79f158a3b2
@ -75,20 +75,15 @@ iscsiadm -m node --login -p $TARGET_IP:$PORT
|
|||||||
trap "iscsicleanup; process_core; killprocess $pid; exit 1" SIGINT SIGTERM EXIT
|
trap "iscsicleanup; process_core; killprocess $pid; exit 1" SIGINT SIGTERM EXIT
|
||||||
|
|
||||||
sleep 1
|
sleep 1
|
||||||
$fio_py 4096 1 randrw 5 verify
|
$fio_py 4096 1 randrw 1 verify
|
||||||
$fio_py 131072 32 randrw 5 verify
|
$fio_py 131072 32 randrw 1 verify
|
||||||
|
|
||||||
if [ $RUN_NIGHTLY -eq 1 ]; then
|
if [ $RUN_NIGHTLY -eq 1 ]; then
|
||||||
VERIFY_TIME=300
|
$fio_py 4096 1 write 300 verify
|
||||||
else
|
|
||||||
VERIFY_TIME=10
|
|
||||||
fi
|
|
||||||
$fio_py 4096 1 write $VERIFY_TIME verify
|
|
||||||
|
|
||||||
# Run the running_config test which will generate a config file from the
|
# Run the running_config test which will generate a config file from the
|
||||||
# running iSCSI target, then kill and restart the iSCSI target using the
|
# running iSCSI target, then kill and restart the iSCSI target using the
|
||||||
# generated config file
|
# generated config file
|
||||||
if [ $RUN_NIGHTLY -eq 1 ]; then
|
|
||||||
running_config
|
running_config
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user