Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0038014 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] A. Platform | trivial | have not tried | 2018-02-28 12:14 | 2018-03-08 16:38 | |||
| Reporter | alostale | View Status | public | |||||
| Assigned To | alostale | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR18Q2 | |||
| Status | closed | Fix in branch | Fixed in SCM revision | ed2612a8ff29 | ||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | SCM revision | |||||||
| Merge Request Status | ||||||||
| Review Assigned To | caristu | |||||||
| OBNetwork customer | No | |||||||
| Web browser | ||||||||
| Modules | Core | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0038014: DB connection leak using old pool in test cases | |||||||
| Description | Using old Apache commons jdbc pool, connections are leaked in test cases when using OBBaseTest.getConnectionProvider. | |||||||
| Steps To Reproduce | 1. Set Openbravo.properties to use old pool (db.externalPoolClassName=) 2. Run ErrorTextParserTest and stop in the last test executed 3. Check DB connections -> GOT: 11 idle connections EXPECTED: a couple of them | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
||||||||
|
||||||||
Notes |
|
|
(0102869) hgbot (developer) 2018-02-28 13:05 |
Repository: erp/devel/pi Changeset: ed2612a8ff2920a948cfe6d428187968fe5d5706 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Wed Feb 28 13:04:42 2018 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/ed2612a8ff2920a948cfe6d428187968fe5d5706 [^] fixed bug 38014: DB connection leak using old pool in test cases Reuse DalConnectionProvider instead of creating a new ConnectionProviderImpl (new pool) each time OBBaseTest.getConnectionProvider is invoked. --- M src-test/src/org/openbravo/test/base/OBBaseTest.java --- |
|
(0102958) hudsonbot (viewer) 2018-03-02 21:18 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/05dece3dc80b [^] Maturity status: Test |
|
(0103093) caristu (viewer) 2018-03-08 16:38 |
Code reviewed + tested OK. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2018-02-28 12:14 | alostale | New Issue | |
| 2018-02-28 12:14 | alostale | Assigned To | => platform |
| 2018-02-28 12:14 | alostale | OBNetwork customer | => No |
| 2018-02-28 12:14 | alostale | Modules | => Core |
| 2018-02-28 12:14 | alostale | Triggers an Emergency Pack | => No |
| 2018-02-28 13:04 | alostale | Assigned To | platform => alostale |
| 2018-02-28 13:04 | alostale | Review Assigned To | => caristu |
| 2018-02-28 13:05 | hgbot | Checkin | |
| 2018-02-28 13:05 | hgbot | Note Added: 0102869 | |
| 2018-02-28 13:05 | hgbot | Status | new => resolved |
| 2018-02-28 13:05 | hgbot | Resolution | open => fixed |
| 2018-02-28 13:05 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/ed2612a8ff2920a948cfe6d428187968fe5d5706 [^] |
| 2018-03-02 21:18 | hudsonbot | Checkin | |
| 2018-03-02 21:18 | hudsonbot | Note Added: 0102958 | |
| 2018-03-08 16:38 | caristu | Note Added: 0103093 | |
| 2018-03-08 16:38 | caristu | Status | resolved => closed |
| 2018-03-08 16:38 | caristu | Fixed in Version | => 3.0PR18Q2 |
| 2018-03-09 15:29 | alostale | Relationship added | related to 0038097 |
| Copyright © 2000 - 2009 MantisBT Group |