juanvisoler commented on code in PR #24826:
URL: https://github.com/apache/flink/pull/24826#discussion_r4104444935


##########
flink-table/flink-sql-gateway/src/test/java/org/apache/flink/table/gateway/rest/SessionRelatedITCase.java:
##########
@@ -166,6 +166,7 @@ void testTouchSession() throws Exception {
 
         long lastAccessTime = session.getLastAccessTime();
 
+        Thread.sleep(1); // ensure requests are not sent at the same time

Review Comment:
   @MartijnVisser Rebased, replaced the sleep with 
`CommonTestUtils.waitUntilCondition`, and restored `isGreaterThan`. 1000/1000 
local runs pass, and the table module passes CI. Will you take a look? 🙏



-- 
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]

Reply via email to