rdblue commented on a change in pull request #1509:
URL: https://github.com/apache/iceberg/pull/1509#discussion_r495186353
##########
File path:
flink/src/test/java/org/apache/iceberg/flink/source/TestFlinkScan.java
##########
@@ -230,7 +215,7 @@ public void testSnapshotReads() throws Exception {
long timestampMillis = table.currentSnapshot().timestampMillis();
// produce another timestamp
- Thread.sleep(10);
+ waitUntilAfter(10);
Review comment:
This should be called with `timestampMillis` because you want to wait
until it is strictly after the current snapshot's timestamp.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]