SEZ9 commented on issue #13777:
URL: https://github.com/apache/seatunnel/issues/13777#issuecomment-7292759267

   Thanks for the detailed analysis and the measurements. The explanation is 
consistent with the failures you list: summing the rates with `asLong()` 
truncates them before the 2% comparison, so a small gap across a whole number 
becomes 1. Adding up the rates as doubles, as you propose, sounds like the 
right fix.
   
   Thanks also for flagging the overlap with #12134. From what you describe, 
that PR is mainly a savepoint failover fix and is still in review, while your 
standalone change touches one test file and no production code. On that basis 
I'd prefer option 2: please open the small PR now so dev CI gets the fix 
sooner, and link it to this issue and to #12134 so the duplicate change can be 
reconciled in whichever merges second.
   
   If the other rate checks in the test (such as `SourceReceivedQPS`) go 
through the same `asLong()` sum, it would be good to cover them in the same PR.
   
   <!-- streview-comment:2742 -->


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