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

   ## What is the purpose of the change
   
   Replace fixed `Thread.sleep(1)` with `CommonTestUtils.waitUntilCondition` so 
the test waits until the wall clock actually moves to a new millisecond. This 
reduces timing assumptions on slow or heavily loaded CI agents while preserving 
the original intent (separate access timestamps for transient blob expiry 
assertions).
   
   ## Brief change log
   
   - `BlobServerCleanupTest`: wait for `currentTimeMillis() > snapshot` instead 
of a 1 ms sleep (two places)
   - Widen test method throws to `Exception` because `waitUntilCondition` 
declares it
   
   ## Verifying this change
   
   This change is already covered by existing tests: `BlobServerCleanupTest` 
(same scenarios).
   
   Local verification (optional): `mvn -pl flink-runtime 
-Dtest=BlobServerCleanupTest test`
   
   ## Does this pull request potentially affect one of the following parts:
   
   - Dependencies: no
   - The public API: no
   - The serializers: no
   - The runtime per-record code paths: no
   - Deployment or recovery: no
   - The S3 file system connector: no
   
   ## Documentation
   
   - Does this pull request introduce a new feature? no
   
   Made with [Cursor](https://cursor.com)


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