YARN-3602. TestResourceLocalizationService.testPublicResourceInitializesLocalDir fails Intermittently due to IOException from cleanup. Contributed by zhihai xu

This commit is contained in:
Xuan 2015-05-08 17:52:54 -07:00
parent ed0f4db0dd
commit 333f9a896d
2 changed files with 8 additions and 1 deletions

View File

@ -382,6 +382,9 @@ Release 2.8.0 - UNRELEASED
YARN-2206. Updated document for applications REST API response examples. (Kenji
Kikushima and Brahma Reddy Battula via zjshen)
YARN-3602. TestResourceLocalizationService.testPublicResourceInitializesLocalDir
fails Intermittently due to IOException from cleanup. (zhihai xu via xgong)
Release 2.7.1 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -184,7 +184,11 @@ public class TestResourceLocalizationService {
@After
public void cleanup() throws IOException {
conf = null;
FileUtils.deleteDirectory(new File(basedir.toString()));
try {
FileUtils.deleteDirectory(new File(basedir.toString()));
} catch (IOException e) {
// ignore
}
}
@Test