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

(cherry picked from commit b9e5a32fa14b727b44118ec7f43fb95de05a7c2c)
This commit is contained in:
Kihwal Lee 2016-05-09 15:52:12 -05:00
parent b47259caf0
commit d7cda6d031

View File

@ -586,7 +586,7 @@ public void testCleanShutdownOfVolume() throws Exception {
Assert.fail("This is not a valid code path. "
+ "out.close should have thrown an exception.");
} catch (IOException ioe) {
GenericTestUtils.assertExceptionContains(info.toString(), ioe);
GenericTestUtils.assertExceptionContains(info.getXferAddr(), ioe);
}
finalizedDir.setWritable(true);
finalizedDir.setExecutable(true);