You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by sn...@apache.org on 2026/09/25 17:01:18 UTC

(flink) branch release-1.20 updated: [hotfix][tests] Fix flaky `SessionRelatedITCase#testTouchSession`

This is an automated email from the ASF dual-hosted git repository.

snuyanzin pushed a commit to branch release-1.20
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.20 by this push:
     new 583b9910b96 [hotfix][tests] Fix flaky `SessionRelatedITCase#testTouchSession`
583b9910b96 is described below

commit 583b9910b9681d82c1a734a45e827d165727847e
Author: Sergey Nuyanzin <sn...@gmail.com>
AuthorDate: Fri Sep 25 19:01:09 2026 +0200

    [hotfix][tests] Fix flaky `SessionRelatedITCase#testTouchSession`
---
 .../java/org/apache/flink/table/gateway/rest/SessionRelatedITCase.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flink-table/flink-sql-gateway/src/test/java/org/apache/flink/table/gateway/rest/SessionRelatedITCase.java b/flink-table/flink-sql-gateway/src/test/java/org/apache/flink/table/gateway/rest/SessionRelatedITCase.java
index 70ba85d4402..0e9d614403d 100644
--- a/flink-table/flink-sql-gateway/src/test/java/org/apache/flink/table/gateway/rest/SessionRelatedITCase.java
+++ b/flink-table/flink-sql-gateway/src/test/java/org/apache/flink/table/gateway/rest/SessionRelatedITCase.java
@@ -197,7 +197,7 @@ class SessionRelatedITCase extends RestAPIITCaseBase {
                         sessionMessageParameters,
                         emptyRequestBody);
         future.get();
-        assertThat(session.getLastAccessTime()).isGreaterThan(lastAccessTime);
+        assertThat(session.getLastAccessTime()).isGreaterThanOrEqualTo(lastAccessTime);
     }
 
     @Test