xuzhiwen1255 commented on code in PR #5642: URL: https://github.com/apache/iceberg/pull/5642#discussion_r962095230
########## flink/v1.15/flink/src/test/java/org/apache/iceberg/flink/sink/TestIcebergStreamWriter.java: ########## @@ -230,10 +230,34 @@ public void testBoundedStreamCloseWithEmittingDataFiles() throws Exception { result = WriteResult.builder().addAll(testHarness.extractOutputValues()).build(); Assert.assertEquals(0, result.deleteFiles().length); - Assert.assertEquals(expectedDataFiles * 2, result.dataFiles().length); + // Datafiles should not be sent again. + Assert.assertEquals(expectedDataFiles , result.dataFiles().length); } } + @Test Review Comment: I'm not sure I understand what you mean. What kind of approach is needed? -- 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