shuke987 opened a new pull request, #65226:
URL: https://github.com/apache/doris/pull/65226

   ## Summary
   
   Relax `test_audit_log_queue_time` so it allows small scheduling/startup 
drift when checking workload group queue time.
   
   The flaky failure in TeamCity build 986222 showed the queued query did enter 
`test_queue_time_wg`, but its audit record had `QueueTimeMs=4984` for a 
`sleep(5)` query. That is expected because queue time is measured from the 
queued query's own `QueueToken` start time, and the two test threads do not 
enter the workload queue at the exact same millisecond.
   
   This keeps the test intent: at least the expected number of queued audit 
rows must have queue time close to the sleep duration. It also logs the 
collected audit rows to make future failures easier to diagnose.
   
   ## Testing
   
   - `git diff --check`
   - Analyzed TeamCity build 986222 FE audit log:
     - first query: `QueueTimeMs=0`
     - queued query: `QueueTimeMs=4984`
   


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