test/vhost: re-enable readonly in nightly testing
Tests for checking read-only option no longer fail. Removing rootdir variable and sourcing commands as *_vm.sh scripts are designed to be run as standalone inside spawned VMs. Change-Id: I491ebf8e2b305539e3fabdc6219ea53693ad2883 Signed-off-by: Karol Latecki <karol.latecki@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/455203 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Pawel Kaminski <pawelx.kaminski@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
This commit is contained in:
parent
60d487877a
commit
920bb2b3c1
@ -3,9 +3,6 @@
|
||||
set -xe
|
||||
|
||||
testdir=$(readlink -f $(dirname $0))
|
||||
rootdir=$(readlink -f $testdir/../../..)
|
||||
source $rootdir/test/common/autotest_common.sh
|
||||
source $rootdir/test/vhost/common.sh
|
||||
|
||||
disk_name="vda"
|
||||
test_folder_name="readonly_test"
|
||||
|
@ -3,9 +3,6 @@
|
||||
set -xe
|
||||
|
||||
testdir=$(readlink -f $(dirname $0))
|
||||
rootdir=$(readlink -f $testdir/../../..)
|
||||
source $rootdir/test/common/autotest_common.sh
|
||||
source $rootdir/test/vhost/common.sh
|
||||
|
||||
disk_name="vda"
|
||||
test_folder_name="readonly_test"
|
||||
|
@ -3,9 +3,6 @@
|
||||
set -x
|
||||
|
||||
testdir=$(readlink -f $(dirname $0))
|
||||
rootdir=$(readlink -f $testdir/../../..)
|
||||
source $rootdir/test/common/autotest_common.sh
|
||||
source $rootdir/test/vhost/common.sh
|
||||
|
||||
disk_name="vda"
|
||||
test_folder_name="readonly_test"
|
||||
|
@ -112,6 +112,12 @@ if [ $RUN_NIGHTLY -eq 1 ]; then
|
||||
run_test case $WORKDIR/lvol/lvol_test.sh --fio-bin=$FIO_BIN \
|
||||
--ctrl-type=spdk_vhost_blk --max-disks=1
|
||||
timing_exit integrity_lvol_blk_nightly
|
||||
|
||||
timing_enter readonly
|
||||
echo 'Running readonly tests suite...'
|
||||
run_test case $WORKDIR/readonly/readonly.sh --vm_image=$VM_IMAGE --disk=Nvme0n1 -x
|
||||
report_test_completion "vhost_readonly"
|
||||
timing_exit readonly
|
||||
fi
|
||||
|
||||
if [ $RUN_NIGHTLY_FAILING -eq 1 ]; then
|
||||
@ -120,12 +126,6 @@ if [ $RUN_NIGHTLY_FAILING -eq 1 ]; then
|
||||
run_test case $WORKDIR/migration/migration.sh -x \
|
||||
--fio-bin=$FIO_BIN --os=$VM_IMAGE --test-cases=1,2
|
||||
timing_exit vhost_migration
|
||||
|
||||
timing_enter readonly
|
||||
echo 'Running readonly tests suite...'
|
||||
run_test case $WORKDIR/readonly/readonly.sh --vm_image=$VM_IMAGE --disk=Nvme0n1 -x
|
||||
report_test_completion "vhost_readonly"
|
||||
timing_exit readonly
|
||||
fi
|
||||
|
||||
timing_enter integrity_lvol_scsi
|
||||
|
Loading…
Reference in New Issue
Block a user