Unverified Commit 23098dde authored by Devon Carew's avatar Devon Carew Committed by GitHub

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

parent f086a45f
...@@ -294,7 +294,12 @@ dependencies: ...@@ -294,7 +294,12 @@ dependencies:
} }
print('-------8<-------'); print('-------8<-------');
} else { } 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); exit(exitCode);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment