HDFS-7109. TestDataStorage does not release file locks between tests. Contributed by Chris Nauroth.

(cherry picked from commit 0795fe3721)
This commit is contained in:
cnauroth 2014-09-20 21:01:13 -07:00
parent 3ad3f034bb
commit 465ba7fe31
2 changed files with 4 additions and 0 deletions

View File

@ -569,6 +569,9 @@ Release 2.6.0 - UNRELEASED
HDFS-7107. Avoid Findbugs warning for synchronization on
AbstractNNFailoverProxyProvider#fallbackToSimpleAuth. (cnauroth)
HDFS-7109. TestDataStorage does not release file locks between tests.
(cnauroth)
Release 2.5.1 - 2014-09-05
INCOMPATIBLE CHANGES

View File

@ -63,6 +63,7 @@ public class TestDataStorage {
@After
public void tearDown() throws IOException {
storage.unlockAll();
FileUtil.fullyDelete(TEST_DIR);
}