Date: Fri, 8 May 2020 02:42:16 +0000 (UTC) From: Alan Somers <asomers@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r360807 - head/tests/sys/geom/class/multipath Message-ID: <202005080242.0482gG2e008456@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: asomers Date: Fri May 8 02:42:15 2020 New Revision: 360807 URL: https://svnweb.freebsd.org/changeset/base/360807 Log: Fix the sys.geom.class.multipath.misc.fail_on_error test on stable/12 This test uses a gnop feature (delay probability) that isn't available on stable/12. But it's unnecessary; the test works fine without it. Removing it simplifies the test and, once MFCed, will allow it to pass on stable/12. PR: 244158 Reported by: lwhsu MFC after: 2 weeks Modified: head/tests/sys/geom/class/multipath/misc.sh Modified: head/tests/sys/geom/class/multipath/misc.sh ============================================================================== --- head/tests/sys/geom/class/multipath/misc.sh Fri May 8 01:19:29 2020 (r360806) +++ head/tests/sys/geom/class/multipath/misc.sh Fri May 8 02:42:15 2020 (r360807) @@ -186,7 +186,7 @@ fail_on_error_body() atf_check -s exit:0 gmultipath create "$name" ${md0}.nop ${md1}.nop # The first I/O to the first path should fail, causing gmultipath to # fail over to the second path. - atf_check gnop configure -q 100 -r 100 -w 100 -x 100 ${md0}.nop + atf_check gnop configure -r 100 -w 100 ${md0}.nop atf_check -s exit:0 -o ignore -e ignore dd if=/dev/zero of=/dev/multipath/"$name" bs=4096 count=1 check_multipath_state ${md1}.nop "DEGRADED" "FAIL" "ACTIVE" }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005080242.0482gG2e008456>