apurtell opened a new pull request, #2734: URL: https://github.com/apache/phoenix/pull/2734
The global query metrics test fails intermittently under CPU load at the check on the end-to-end task time. The client thread pool records task times only after the task future completes. Thus the client thread can get the scan result and read the metrics before the pool thread records them. The request-level check on task execution time has the same race. Query results are not affected. The change is test-only. Before the existing checks, the test now waits, with a time limit, until the task timers record their values. If a value is too high, the existing check still fails. This change complements PHOENIX-8101, and the two patches apply in either order. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
