HDFS-10372. Fix for failing TestFsDatasetImpl#testCleanShutdownOfVolume. Contributed by Rushabh Shah.
This commit is contained in:
parent
411fb4b2b7
commit
b9e5a32fa1
@ -683,7 +683,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);
|
||||
|
Loading…
Reference in New Issue
Block a user