don't fail a test when there are issues deleting a temp dir (#17498)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user