HDFS-9648. TestStartup.testImageChecksum is broken by HDFS-9569's message change. (Wei-Chiu Chuang via Yongjun Zhang)
(cherry picked from commit 817cc1f02a
)
This commit is contained in:
parent
a90dcb0865
commit
7a550db931
|
@ -53,6 +53,9 @@ Release 2.7.3 - UNRELEASED
|
||||||
HDFS-8914. Document HA support in the HDFS HdfsDesign.md.
|
HDFS-8914. Document HA support in the HDFS HdfsDesign.md.
|
||||||
(Lars Francke via wheat9)
|
(Lars Francke via wheat9)
|
||||||
|
|
||||||
|
HDFS-9648. TestStartup.testImageChecksum is broken by HDFS-9569's message
|
||||||
|
change. (Wei-Chiu Chuang via Yongjun Zhang)
|
||||||
|
|
||||||
Release 2.7.2 - UNRELEASED
|
Release 2.7.2 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -525,7 +525,7 @@ public class TestStartup {
|
||||||
fail("Should not have successfully started with corrupt image");
|
fail("Should not have successfully started with corrupt image");
|
||||||
} catch (IOException ioe) {
|
} catch (IOException ioe) {
|
||||||
GenericTestUtils.assertExceptionContains(
|
GenericTestUtils.assertExceptionContains(
|
||||||
"Failed to load an FSImage file!", ioe);
|
"Failed to load FSImage file", ioe);
|
||||||
int md5failures = appender.countExceptionsWithMessage(
|
int md5failures = appender.countExceptionsWithMessage(
|
||||||
" is corrupt with MD5 checksum of ");
|
" is corrupt with MD5 checksum of ");
|
||||||
// Two namedirs, so should have seen two failures
|
// Two namedirs, so should have seen two failures
|
||||||
|
|
Loading…
Reference in New Issue