Date: Sun, 17 May 2020 02:40:49 +0000 (UTC) From: Alan Somers <asomers@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r361128 - stable/11/tests/sys/geom/class/gate Message-ID: <202005170240.04H2enQP008130@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: asomers Date: Sun May 17 02:40:49 2020 New Revision: 361128 URL: https://svnweb.freebsd.org/changeset/base/361128 Log: MFC r360613: Fix intermittent cleanup failures in the ggated test Modified: stable/11/tests/sys/geom/class/gate/ggate_test.sh Directory Properties: stable/11/ (props changed) Modified: stable/11/tests/sys/geom/class/gate/ggate_test.sh ============================================================================== --- stable/11/tests/sys/geom/class/gate/ggate_test.sh Sun May 17 02:36:42 2020 (r361127) +++ stable/11/tests/sys/geom/class/gate/ggate_test.sh Sun May 17 02:40:49 2020 (r361128) @@ -194,7 +194,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?202005170240.04H2enQP008130>