don't fail a test when there are issues deleting a temp dir (#17498)

This commit is contained in:
Devon Carew
2018-05-11 07:46:48 -07:00
committed by GitHub
parent f086a45f82
commit 23098dde50

View File

@@ -294,7 +294,12 @@ dependencies:
}
print('-------8<-------');
} else {
temp.deleteSync(recursive: true);
try {
temp.deleteSync(recursive: true);
} on FileSystemException catch (e) {
// ignore errors deleting the temporary directory
print('Ignored exception during tearDown: $e');
}
}
}
exit(exitCode);