snuyanzin commented on code in PR #21368:
URL: https://github.com/apache/flink/pull/21368#discussion_r1031185662


##########
flink-runtime/src/test/java/org/apache/flink/runtime/checkpoint/channel/ChannelStateSerializerImplTest.java:
##########
@@ -145,15 +141,15 @@ private void readAndCheck(
             throws IOException {
         serializer.readHeader(is);
         int size = serializer.readLength(is);
-        assertEquals(data.length, size);
+        assertThat(size).isEqualTo(data.length);

Review Comment:
   ```suggestion
           assertThat(data).hasSize(size);
   ```
   shouldn't it be like that



-- 
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]

Reply via email to