usberkeley commented on code in PR #10722:
URL: https://github.com/apache/hudi/pull/10722#discussion_r1498904158


##########
hudi-common/src/test/java/org/apache/hudi/common/data/TestHoodieListData.java:
##########
@@ -72,4 +73,23 @@ public void testGetNumPartitions() {
         IntStream.rangeClosed(0, 100).boxed().collect(Collectors.toList()));
     assertEquals(1, listData.getNumPartitions());
   }
+
+  @Test
+  public void testIsEmpty() {
+    // HoodieListData bearing eager execution semantic
+    HoodieData<Integer> listData = HoodieListData.eager(
+            IntStream.rangeClosed(0, 
100).boxed().collect(Collectors.toList()));
+    assert !listData.isEmpty();

Review Comment:
   OK, IDEA grammar recommends using assert when assertTrue, but if our project 
is accustomed to using assertTrue, I will modify it now.



-- 
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: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to