Copilot commented on code in PR #6019:
URL: https://github.com/apache/paimon/pull/6019#discussion_r2268684214


##########
paimon-core/src/test/java/org/apache/paimon/table/TableTestBase.java:
##########
@@ -88,7 +88,7 @@ public void after() throws IOException {
         // assert all connections are closed
         Predicate<Path> pathPredicate = path -> 
path.toString().contains(tempPath.toString());
         assertThat(TraceableFileIO.openInputStreams(pathPredicate)).isEmpty();
-        assertThat(TraceableFileIO.openOutputStreams(pathPredicate)).isEmpty();
+        assertThat(TraceableFileIO.openOutputStreams(pathPredicate).isEmpty());

Review Comment:
   The method call is missing. This should be 
`assertThat(TraceableFileIO.openOutputStreams(pathPredicate)).isEmpty()` to 
properly check if the collection is empty.
   ```suggestion
           
assertThat(TraceableFileIO.openOutputStreams(pathPredicate)).isEmpty();
   ```



-- 
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...@paimon.apache.org

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

Reply via email to