kurtcebe commented on PR #179:
URL: https://github.com/apache/commons-dbcp/pull/179#issuecomment-1114055253

   @garydgregory  I'm guessing this is happening due to unit tests running in 
parallel, which was already highlighted in a TODO comment at another test 
method 
[here](https://github.com/apache/commons-dbcp/blob/14d3df96d27068b5819863aede83de9125b11021/src/test/java/org/apache/commons/dbcp2/TestBasicDataSource.java#L623).
 I've followed suit by just adding the same comment, but now I'm thinking, 
maybe that was unnecessarily optimistic. Since we're using PlatformMBeanServer 
in our tests without mocking, all tests are registering/unregistering Means on 
a singleton, hence we may be seeing side effects from other tests running with 
different JMX config.  I'll take another look into this to verify this. Thanks 
for your time as always.


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