[jira] [Commented] (OFBIZ-6218) Unit tests throw exception in DBCP

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-6218) Unit tests throw exception in DBCP

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-6218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14489171#comment-14489171 ]

Adrian Crum commented on OFBIZ-6218:
------------------------------------

Nicolas,

No one is blaming the tests. Here is what we know:

1. DBCP is used in most of our unit tests, but only fails in the performFind tests.

2. Different find tests fail, but a failure is guaranteed in one of them (on my machine), and a failure is repeatable (on your machine).

3. One thing that is common to all failing tests is the use of EntityListIterator. I started looking into it to see if a code path in ELI can prematurely close the connection, but I ran out of time.

Right now my gut feeling is that this is not a problem in DBCP, but in our code.


> Unit tests throw exception in DBCP
> ----------------------------------
>
>                 Key: OFBIZ-6218
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6218
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Adrian Crum
>
> Details in comments.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)