adoroszlai commented on code in PR #11056:
URL: https://github.com/apache/ozone/pull/11056#discussion_r4024372695
##########
hadoop-hdds/client/src/test/java/org/apache/hadoop/hdds/scm/storage/TestBlockDataStreamOutput.java:
##########
@@ -219,7 +219,7 @@ void closeAfterWriteFailureThrows() throws Exception {
}
assertTrue(foundExpectedCause);
} else {
- assertThat(e.getMessage().contains("chunk write failed due to injected
failure"));
+ assertThat(e.getMessage()).contains("chunk write failed due to injected
failure");
Review Comment:
This was masking a flakiness in the test, reported HDDS-16482.
--
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]