nastra commented on code in PR #7253:
URL: https://github.com/apache/iceberg/pull/7253#discussion_r1157491162
##########
core/src/test/java/org/apache/iceberg/hadoop/HadoopFileIOTest.java:
##########
@@ -175,10 +181,16 @@ private List<Path> createRandomFiles(Path parent, int
count) {
Path path = new Path(parent, "file-" + i);
paths.add(path);
fs.createNewFile(path);
+ createdFiles.increment();
} catch (IOException e) {
throw new UncheckedIOException(e);
}
});
+
+ Awaitility.await()
Review Comment:
I'd prefer to keep the assertion check to make sure we actually created the
required number of files
--
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]