rdblue commented on code in PR #4307:
URL: https://github.com/apache/iceberg/pull/4307#discussion_r841878185
##########
spark/v3.2/spark/src/test/java/org/apache/iceberg/spark/actions/TestRemoveOrphanFilesAction.java:
##########
@@ -585,7 +585,7 @@ public void testHiddenPartitionPaths() throws
InterruptedException {
df.write().mode("append").parquet(tableLocation +
"/data/_c2_trunc=AA/c3=AAAA");
df.write().mode("append").parquet(tableLocation +
"/data/_c2_trunc=AA/c3=AAAA");
- // Thread.sleep(1000);
+ waitUntilAfter(System.currentTimeMillis() + 1000);
Review Comment:
It should be sufficient to just wait until after
`System.currentTimeMillis()`, without the extra delay.
--
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]