apurtell opened a new pull request, #2730: URL: https://github.com/apache/phoenix/pull/2730
The test of the query chain failure fails intermittently under CPU load. Each call on the parallel connection adds a link to a chain for each connection, and each link runs on the single-thread executor of its cluster. The caller returns when the second connection succeeds. Thus the failing link on the first connection can still be queued or running when the test checks it. Also, if that link runs only after the test restores the stub, it succeeds and the chain never fails. The product is not at fault, because it drops a failed connection asynchronously by design. The change is test-only. The test now waits until the chain of the first connection fails, and only then restores the stub. The check is then deterministic. 🤖 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]
