Prajwal-banakar commented on issue #2581:
URL: https://github.com/apache/fluss/issues/2581#issuecomment-3863760328

   "Hi @wuchong,
   
   I investigated this issue and attempted to reproduce the failure locally by 
running FlussAuthorizationITCase#testInitWriter in a loop 100 times. On my 
local environment, the test passed consistently without hitting the 
AssertionError.
   
   However, the stack trace clearly points to a race condition in 
FlussClusterExtension.java where the metadata is checked before the Coordinator 
finishes the leader election. i think a fix that replaces the strict assertThat 
with a waitValue retry mechanism to ensure the test remains stable in slower CI 
environments.
   
   Let me know if you have any other suggestions!"


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