Fix intermittent cleanup failures in the ggated test
MFC after: 2 weeks
This commit is contained in:
parent
8a1cd3cee3
commit
4abfd5bd93
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=360613
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user