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

This commit is contained in:
cnauroth 2014-09-20 21:01:13 -07:00
parent 47491f9a11
commit 0795fe3721
2 changed files with 4 additions and 0 deletions

View File

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

View File

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