HDFS-4693. Merge r1468457 from trunk.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1486098 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Suresh Srinivas 2013-05-24 15:44:33 +00:00
parent 91084635f3
commit a9176a64a1
2 changed files with 7 additions and 3 deletions

View File

@ -273,6 +273,9 @@ Release 2.0.5-beta - UNRELEASED
HDFS-4824. FileInputStreamCache.close leaves dangling reference to
FileInputStreamCache.cacheCleaner. (Colin Patrick McCabe via todd)
HDFS-4693. Some test cases in TestCheckpoint do not clean up after
themselves. (Arpit Agarwal, suresh via suresh)
BREAKDOWN OF HDFS-347 SUBTASKS AND RELATED JIRAS
HDFS-4353. Encapsulate connections to peers in Peer and PeerServer classes.

View File

@ -1550,9 +1550,10 @@ public class TestCheckpoint {
if (fs != null) {
fs.close();
}
if (cluster != null) {
cluster.shutdown();
}
cleanup(secondary);
secondary = null;
cleanup(cluster);
cluster = null;
Mockito.reset(faultInjector);
}
}