Re: [DBCP] TestSynchronizationOrder failure, random or bug

2021-01-03 Thread Florent Guillaume
Here it is: https://github.com/apache/commons-dbcp/pull/84 associated to ticket: https://issues.apache.org/jira/browse/DBCP-569 Florent On Mon, Jan 4, 2021 at 12:24 AM Gary Gregory wrote: > On Sat, Jan 2, 2021 at 2:39 PM Florent Guillaume > wrote: > > > Hi Gary, > > > > I reproduce it too in

Re: [DBCP] TestSynchronizationOrder failure, random or bug

2021-01-03 Thread Gary Gregory
On Sat, Jan 2, 2021 at 2:39 PM Florent Guillaume wrote: > Hi Gary, > > I reproduce it too in my Eclipse. I think it's a bug in the test. > > The TransactionContext.transactionRef and the TransactionRegistry.caches > are holding onto the Transaction (acquired in >

Re: [DBCP] TestSynchronizationOrder failure, random or bug

2021-01-02 Thread Florent Guillaume
Hi Gary, I reproduce it too in my Eclipse. I think it's a bug in the test. The TransactionContext.transactionRef and the TransactionRegistry.caches are holding onto the Transaction (acquired in TransactionRegistry.getActiveTransactionContext()) only using weak refs. However in

[DBCP] TestSynchronizationOrder failure, random or bug

2020-12-29 Thread Gary Gregory
Hi All: I just saw on https://github.com/apache/commons-dbcp/runs/1622526568?check_suite_focus=true [INFO] Running org.apache.commons.dbcp2.managed.TestSynchronizationOrder Error: Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.088 s <<< FAILURE! - in