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

   ## Proposed changes
   
   Stabilize `query_profile/adaptive_pipeline_task_serial_read_on_limit` by 
removing the fixed sleep before reading query profiles. The test now records 
the exact `last_query_id()` after each profiled query, waits for that profile 
row to reach `Profile Completion State: COMPLETE`, and then fetches the 
detailed profile before checking `MaxScanConcurrency`.
   
   ## Root cause
   
   The profile list and detailed BE profile are reported asynchronously after 
query results are returned. Under CI load, the old fixed wait could read 
`/rest/v1/query_profile` before the just-finished query appeared, causing 
intermittent `Profile ID ... is not found` failures.
   
   ## Validation
   
   ```bash
   git diff --check
   timeout 300 ./run-regression-test.sh --run -f 
regression-test/suites/query_profile/adaptive_pipeline_task_serial_read_on_limit.groovy
   ```
   
   Result: `Test 1 suites, failed 0 suites`.
   


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