tomtongue commented on code in PR #9670:
URL: https://github.com/apache/iceberg/pull/9670#discussion_r1494655518
##########
spark/v3.5/spark-extensions/src/test/java/org/apache/iceberg/spark/extensions/TestDelete.java:
##########
@@ -1052,9 +1039,10 @@ public synchronized void
testDeleteWithSerializableIsolation() throws Interrupte
executorService.submit(
() -> {
for (int numOperations = 0; numOperations < Integer.MAX_VALUE;
numOperations++) {
- while (barrier.get() < numOperations * 2) {
- sleep(10);
- }
+ int currentNumOperations = numOperations;
+ Awaitility.await()
+ .pollInterval(Duration.ofMillis(10))
Review Comment:
Thanks for the suggestion. ~~I will add atMost to all of the tests~~.
Updated.
--
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]