You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Shekharrajak (via GitHub)" <gi...@apache.org> on 2026/04/02 18:52:48 UTC

Re: [PR] [FLINK-38727] Fix flaky test by adding slot request timeout configura… [flink]

Shekharrajak commented on code in PR #27659:
URL: https://github.com/apache/flink/pull/27659#discussion_r3029761962


##########
flink-tests/src/test/java/org/apache/flink/test/checkpointing/EventTimeWindowCheckpointingITCase.java:
##########
@@ -263,6 +265,14 @@ protected Configuration createClusterConfig() throws IOException {
         Configuration config = new Configuration();
         config.set(RpcOptions.FRAMESIZE, MAX_MEM_STATE_SIZE + "b");
 
+        // FLINK-38727: Add timeout configurations to handle slow TaskManager registration
+        // under CI load, preventing premature NoResourceAvailableException
+        config.set(JobManagerOptions.SLOT_REQUEST_TIMEOUT, Duration.ofMinutes(5));

Review Comment:
   You are correct. SLOT_REQUEST_TIMEOUT defaults to exactly 5 minutes (5L * 60L * 1000L ms), so setting it           explicitly was a no-op. Removed



-- 
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: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org