Date: Sun, 3 May 2020 18:10:54 +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: r360613 - head/tests/sys/geom/class/gate Message-ID: <202005031810.043IAs7Y067053@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: asomers Date: Sun May 3 18:10:54 2020 New Revision: 360613 URL: https://svnweb.freebsd.org/changeset/base/360613 Log: Fix intermittent cleanup failures in the ggated test MFC after: 2 weeks Modified: head/tests/sys/geom/class/gate/ggate_test.sh Modified: head/tests/sys/geom/class/gate/ggate_test.sh ============================================================================== --- head/tests/sys/geom/class/gate/ggate_test.sh Sun May 3 17:50:24 2020 (r360612) +++ head/tests/sys/geom/class/gate/ggate_test.sh Sun May 3 18:10:54 2020 (r360613) @@ -198,7 +198,11 @@ common_cleanup() if [ -f "md.devs" ]; then while read test_md; do - mdconfig -d -u $test_md 2>/dev/null + # ggatec destroy doesn't release the provider + # synchronously, so we may need to retry destroying it. + while ! mdconfig -d -u $test_md; do + sleep 0.1 + done done < md.devs rm md.devs fi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005031810.043IAs7Y067053>