wForget opened a new pull request, #2773:
URL: https://github.com/apache/uniffle/pull/2773

   ### What changes were proposed?
   
   Replace transient memory assertions and fixed sleeps in 
`ShuffleBufferManagerTest.shuffleFlushThreshold` with Awaitility-based 
assertions that wait for stable `usedMemory` and `inFlushSize` values.
   
   ### Why are the changes needed?
   
   The asynchronous flush may complete before the test checks the intermediate 
memory usage, causing failures such as:
   
   ```text
   expected: <159> but was: <63>
   ```
   
   The previous assertions depended on thread scheduling, while fixed sleeps 
could not guarantee that flush cleanup had completed.
   
   ### How was this patch tested?
   
   Existing test.
   
   ----
   Generated by Codex (GPT-5.6)


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to