lschetanrao commented on code in PR #9241:
URL: https://github.com/apache/iceberg/pull/9241#discussion_r1420862455
##########
mr/src/test/java/org/apache/iceberg/mr/hive/HiveIcebergTestUtils.java:
##########
@@ -265,7 +264,7 @@ public static void validateData(List<Record> expected,
List<Record> actual, int
sortedExpected.sort(Comparator.comparingLong(record -> (Long)
record.get(sortBy)));
sortedActual.sort(Comparator.comparingLong(record -> (Long)
record.get(sortBy)));
- Assert.assertEquals(sortedExpected.size(), sortedActual.size());
+
Assertions.assertThat(sortedActual.size()).isEqualTo(sortedExpected.size());
Review Comment:
Yes. did it for all places where size was compared
--
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]