robinrvm commented on PR #30168:
URL: https://github.com/apache/flink/pull/30168#issuecomment-7319898554

   This PR  fixes FLINK-35315, where testConcurrentModificationWhileReleasing 
sometimes hangs until the CI fork is killed. The test's Modifier only stopped 
after release() returned, while release() retries until a pass sees no change, 
so each waited for the other.
   
   The fix is test-only and release() is unchanged. The Modifier now stops 
after 10 passes, and every one of those passes still sees a change, with no 
sleeps. The second commit makes the test fail with the Modifier's error, 
instead of hanging, if the Modifier thread ever fails.
   
    @MartijnVisser/ @1996fanrui    I'd appreciate your view on which you 
prefer. Thanks!


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