pvary commented on code in PR #14398:
URL: https://github.com/apache/iceberg/pull/14398#discussion_r2498204884


##########
core/src/test/java/org/apache/iceberg/rest/TestRESTCatalog.java:
##########
@@ -2930,17 +2945,14 @@ public void testNotModified() {
             any(),
             any());
 
-    // TODO: This won't throw when client side of freshness-aware loading is 
implemented
-    assertThatThrownBy(() -> 
catalog().loadTable(TABLE)).isInstanceOf(NullPointerException.class);
+    catalog().loadTable(TABLE);
 
     TableIdentifier metadataTableIdentifier =
         TableIdentifier.of(TABLE.namespace().toString(), TABLE.name(), 
"partitions");
 
-    // TODO: This won't throw when client side of freshness-aware loading is 
implemented
-    assertThatThrownBy(() -> catalog().loadTable(metadataTableIdentifier))
-        .isInstanceOf(NullPointerException.class);
+    catalog().loadTable(metadataTableIdentifier);
 
-    Mockito.verify(adapterForRESTServer, times(2))
+    Mockito.verify(adapterForRESTServer, times(3))

Review Comment:
   question: Why is this changed?



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

Reply via email to