]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Limit gmirror failpoint tests to the test worker
authorbdrewery <bdrewery@FreeBSD.org>
Thu, 23 Jul 2020 23:29:50 +0000 (23:29 +0000)
committerbdrewery <bdrewery@FreeBSD.org>
Thu, 23 Jul 2020 23:29:50 +0000 (23:29 +0000)
commit3d54e55ad855619b54fc8090b5d8575facf87b1a
treec1f6ea711cfcb10e626b3b705a1ec859bbff1bdd
parent86be00644a09ad45771fd2ce4d71d6fcebab5153
Limit gmirror failpoint tests to the test worker

This avoids injecting errors into the test system's mirrors.

gnop seems like a good solution here but it injects errors at the wrong
place vs where these tests expect and does not support a 'max global count'
like the failpoints do with 'n*' syntax.

Reviewed by: cem, vangyzen
Sponsored by: Dell EMC Isilon
tests/sys/geom/class/mirror/10_test.sh
tests/sys/geom/class/mirror/11_test.sh
tests/sys/geom/class/mirror/12_test.sh
tests/sys/geom/class/mirror/13_test.sh
tests/sys/geom/class/mirror/9_test.sh
tests/sys/geom/class/mirror/conf.sh
tests/sys/geom/class/mirror/sync_error.sh