YARN-3602. TestResourceLocalizationService.testPublicResourceInitializesLocalDir fails Intermittently due to IOException from cleanup. Contributed by zhihai xu
(cherry picked from commit 333f9a896d
)
This commit is contained in:
parent
ef096599c3
commit
fc980247a6
|
@ -337,6 +337,9 @@ Release 2.8.0 - UNRELEASED
|
||||||
YARN-2206. Updated document for applications REST API response examples. (Kenji
|
YARN-2206. Updated document for applications REST API response examples. (Kenji
|
||||||
Kikushima and Brahma Reddy Battula via zjshen)
|
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
|
Release 2.7.1 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -184,7 +184,11 @@ public class TestResourceLocalizationService {
|
||||||
@After
|
@After
|
||||||
public void cleanup() throws IOException {
|
public void cleanup() throws IOException {
|
||||||
conf = null;
|
conf = null;
|
||||||
FileUtils.deleteDirectory(new File(basedir.toString()));
|
try {
|
||||||
|
FileUtils.deleteDirectory(new File(basedir.toString()));
|
||||||
|
} catch (IOException e) {
|
||||||
|
// ignore
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in New Issue