The GitHub Actions job "Flink CI (beta)" on flink.git/master has failed.
Run started by GitHub user lihaosky (triggered by lihaosky).

Head commit for run:
61723a08db52600363c89905913ce493a4f35d83 / Hao Li 
<[email protected]>
[FLINK-37892][tests] Fix spurious TimeoutException in TestUtils#waitUntil for 
non-monotonic conditions (#28400)

TestUtils#waitUntil evaluated the condition twice: once in the polling
loop and again to decide whether to throw. A condition that is
momentarily true and then false again (e.g. a live thread count matched
with ==) could exit the loop on the first evaluation and then fail the
second one, producing a TimeoutException within milliseconds despite a
30s budget. This is the failure mode behind
SplitFetcherManagerTest#testCloseBlockingWaitingForFetcherShutdown
flaking on CI with sub-second 'timeouts'.

Evaluate the condition once per iteration and latch the result, so a
condition observed as true always completes the wait. Add a regression
test with a condition that is satisfied exactly once.

Report URL: https://github.com/apache/flink/actions/runs/27391514582

With regards,
GitHub Actions via GitBox

Reply via email to