YARN-4717. TestResourceLocalizationService.testPublicResourceInitializesLocalDir fails Intermittently due to IllegalArgumentException from cleanup (templedf via rkanter)
(cherry picked from commit 22ca176dfe125a4f7bf38cc63ab8106c40a7a7ba)
This commit is contained in:
parent
c972498b74
commit
5883718eea
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user