summaryrefslogtreecommitdiffstats
path: root/tests/medium_error_scsi_debug/PURPOSE
diff options
context:
space:
mode:
authorYevhenii Shapovalov <yshapova@redhat.com>2018-02-19 12:50:53 +0200
committerYevhenii Shapovalov <yshapova@redhat.com>2018-02-19 12:52:38 +0200
commit9bbb3de7d2c19922a19a61fcb4b2db68e8184fcc (patch)
treed0fe1bb442e33b595c9b9b23f6dac07492f4143e /tests/medium_error_scsi_debug/PURPOSE
parent5bea53fe7ed7dd7afa8e76f7f84f76fdb89d59d9 (diff)
downloaddevice-mapper-multipath-add_tests.tar.gz
device-mapper-multipath-add_tests.tar.xz
device-mapper-multipath-add_tests.zip
Add CI tests using the standard test interfaceHEADadd_tests
Diffstat (limited to 'tests/medium_error_scsi_debug/PURPOSE')
-rw-r--r--tests/medium_error_scsi_debug/PURPOSE8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/medium_error_scsi_debug/PURPOSE b/tests/medium_error_scsi_debug/PURPOSE
new file mode 100644
index 0000000..74e4fdc
--- /dev/null
+++ b/tests/medium_error_scsi_debug/PURPOSE
@@ -0,0 +1,8 @@
+multipath: Test that some fatal errors which should not be retried, for example a medium error, correctly generate an I/O error and do not get infinitely retried.
+
+steps:
+1.# modprobe scsi_debug dev_size_mb=1024 num_tgts=1 vpd_use_hostno=0 add_host=2 delay=20 max_luns=2 no_lun_0=1 opts=2 every_nth=1
+2.# multipath -ll | grep -C 5 scsi_debug
+3.# dd if=/dev/zero of=/dev/sdf bs=1024 count=262144
+4. check if an I/O error generated
+