YARN-4717. TestResourceLocalizationService.testPublicResourceInitializesLocalDir fails Intermittently due to IllegalArgumentException from cleanup (templedf via rkanter)

(cherry picked from commit 22ca176dfe125a4f7bf38cc63ab8106c40a7a7ba)
This commit is contained in:
Jason Lowe 2016-08-03 19:33:58 +00:00
parent c972498b74
commit 5883718eea

View File

@ -194,7 +194,7 @@ public void cleanup() throws IOException {
conf = null;
try {
FileUtils.deleteDirectory(new File(basedir.toString()));
} catch (IOException e) {
} catch (IOException | IllegalArgumentException e) {
// ignore
}
}