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

   `PhoenixConnection.close()` is asynchronous because internal child 
connections are reaped on a background thread. Counters are decremented on the 
close path with updates that may not be visible immediately to the caller after 
`close()` returns. Tests that assert against these counters immediately after 
the close call were racy. The fix is to use `HBaseTestingUtility.waitFor()` to 
poll until the counters reach the desired condition.


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