HDFS-10372. Fix for failing TestFsDatasetImpl#testCleanShutdownOfVolume. Contributed by Rushabh Shah.
(cherry picked from commit b9e5a32fa1
)
This commit is contained in:
parent
3732a1e985
commit
2c782fdb17
|
@ -683,7 +683,7 @@ public class TestFsDatasetImpl {
|
||||||
Assert.fail("This is not a valid code path. "
|
Assert.fail("This is not a valid code path. "
|
||||||
+ "out.close should have thrown an exception.");
|
+ "out.close should have thrown an exception.");
|
||||||
} catch (IOException ioe) {
|
} catch (IOException ioe) {
|
||||||
GenericTestUtils.assertExceptionContains(info.toString(), ioe);
|
GenericTestUtils.assertExceptionContains(info.getXferAddr(), ioe);
|
||||||
}
|
}
|
||||||
finalizedDir.setWritable(true);
|
finalizedDir.setWritable(true);
|
||||||
finalizedDir.setExecutable(true);
|
finalizedDir.setExecutable(true);
|
||||||
|
|
Loading…
Reference in New Issue