TestGlobPath symlink tests fail to cleanup properly. (cmccabe via wang)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1513251 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dedbd19bea
commit
d748123e2c
|
@ -120,6 +120,9 @@ Trunk (Unreleased)
|
|||
HDFS-5004. Add additional JMX bean for NameNode status data
|
||||
(Trevor Lorimer via cos)
|
||||
|
||||
HDFS-9847. TestGlobPath symlink tests fail to cleanup properly.
|
||||
(cmccabe via wang)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
BUG FIXES
|
||||
|
|
|
@ -405,6 +405,8 @@ public class TestGlobPaths {
|
|||
|
||||
status = fs.globStatus(new Path("/x/x"), falseFilter);
|
||||
assertNull(status);
|
||||
|
||||
cleanupDFS();
|
||||
}
|
||||
|
||||
private void checkStatus(FileStatus[] status, Path ... expectedMatches) {
|
||||
|
@ -783,8 +785,7 @@ public class TestGlobPaths {
|
|||
return globResults;
|
||||
}
|
||||
|
||||
@After
|
||||
public void cleanupDFS() throws IOException {
|
||||
private void cleanupDFS() throws IOException {
|
||||
fs.delete(new Path(USER_DIR), true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue