nastra commented on code in PR #12566:
URL: https://github.com/apache/iceberg/pull/12566#discussion_r2001478739


##########
core/src/test/java/org/apache/iceberg/rest/TestHTTPClient.java:
##########
@@ -323,6 +325,19 @@ public void testInvalidTimeout(String timeoutMsType) {
         .hasMessage(String.format("duration must not be negative: %s", 
invalidNegativeTimeoutMs));
   }
 
+  @Test
+  public void testCloseChild() throws IOException {
+    AuthSession authSession = mock(AuthSession.class);
+    try (RESTClient child = restClient.withAuthSession(authSession)) {
+      assertThat(child).isNotNull().isNotSameAs(restClient);
+    }

Review Comment:
   nit: newline after this



-- 
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: issues-unsubscr...@iceberg.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to