naveencodet opened a new pull request, #30096:
URL: https://github.com/apache/flink/pull/30096

   ## What is the purpose of the change
   
   `RescaleTimelineITCase#testRecordRescaleForNewAvailableResource` is flaky 
and sometimes records three rescales instead of two.
   
   The test cluster uses a very short submission resource stabilization timeout 
(50ms). On a slow or loaded machine, that window can close before all resources 
are registered, so the scheduler can trigger an extra rescale and the test sees 
three rescales instead of two.
   
   This change widens the timeout to leave more margin.
   
   ## Brief change log
   
   - In `RescaleTimelineITCaseBase#createConfiguration`, increase 
`jobmanager.adaptive-scheduler.submission.resource-stabilization-timeout` 
(`SCHEDULER_SUBMISSION_RESOURCE_STABILIZATION_TIMEOUT`) from 50ms to 100ms.
   - Add a comment noting that the value should be raised further if the test 
turns flaky again.
   
   ## Verifying this change
   
   This change is a test-configuration change and is covered by the existing 
`RescaleTimelineITCase` and `RescaleTimelineHistoryEnabledITCase`. No new tests 
are added, since the change only affects the timing margin of the existing test 
fixture.
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): no
     - The public API, i.e., is any changed class annotated with 
`@Public(Evolving)`: no
     - The serializers: no
     - The runtime per-record code paths (performance sensitive): no
     - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
     - The S3 file system connector: no
   
   ## Documentation
   
     - Does this pull request introduce a new feature? no
     - If yes, how is the feature documented? not applicable


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