apurtell opened a new pull request, #2448:
URL: https://github.com/apache/phoenix/pull/2448

   `testScanningResultIteratorQueryTimeoutForPagingWithVeryLowTimeout` attaches 
a `DelayedRegionObserver` to its data table so the test query reliably times 
out, but `addCoprocessor` only invokes `admin.modifyTable`, which returns as 
soon as the master `TableDescriptor` is updated and does not wait for region 
servers to reopen the affected regions with the new coprocessor. The query then 
runs immediately against the old observer chain, completes too quickly, and the 
timeout assertion fails. The fix polls 
`region.getCoprocessorHost().findCoprocessor()` on every region of the test 
table after `addCoprocessor` until the coprocessor is loaded.


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