HDFS-10372. Fix for failing TestFsDatasetImpl#testCleanShutdownOfVolume. Contributed by Rushabh Shah.

(cherry picked from commit b9e5a32fa1)
Added a CHANGES.txt entry.
This commit is contained in:
Kihwal Lee 2016-05-09 15:56:51 -05:00
parent b8e01da1b3
commit 0467efcc09
2 changed files with 4 additions and 1 deletions

View File

@ -172,6 +172,9 @@ Release 2.7.3 - UNRELEASED
HDFS-2043. TestHFlush failing intermittently. (Lin Yiqun via iwasakims)
HDFS-10372. Fix for failing TestFsDatasetImpl#testCleanShutdownOfVolume.
(Rushabh Shah via kihwal)
Release 2.7.2 - 2016-01-25
INCOMPATIBLE CHANGES

View File

@ -495,7 +495,7 @@ public class TestFsDatasetImpl {
Assert.fail("This is not a valid code path. "
+ "out.close should have thrown an exception.");
} catch (IOException ioe) {
Assert.assertTrue(ioe.getMessage().contains(info.toString()));
GenericTestUtils.assertExceptionContains(info.getXferAddr(), ioe);
}
finalizedDir.setWritable(true);
finalizedDir.setExecutable(true);