steveloughran commented on code in PR #7961:
URL: https://github.com/apache/hadoop/pull/7961#discussion_r2687099979
##########
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestCheckpoint.java:
##########
@@ -654,7 +655,9 @@ public void testNameNodeImageSendFailWrongSize()
Mockito.doReturn(true).when(faultInjector)
.shouldSendShortFile(filePathContaining("fsimage"));
- doSendFailTest("is not of the advertised size");
+ String expectedText = Shell.isJavaVersionAtLeast(24) ? "Premature EOF" :
Review Comment:
style nit. put the ? + text on line 658; the : and text on the line
afterwards
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]