Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038014
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformtrivialhave not tried2018-02-28 12:142018-03-08 16:38
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version3.0PR18Q2
StatusclosedFix in branchFixed in SCM revisioned2612a8ff29
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tocaristu
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0038014: DB connection leak using old pool in test cases

DescriptionUsing old Apache commons jdbc pool, connections are leaked in test cases when using OBBaseTest.getConnectionProvider.
Steps To Reproduce1. 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0038097 closedalostale DalConnectionProvider.getTransactionConnection with dbcp pool does not set db config query 

-  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 (developer)
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 (developer)
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 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
Powered by Mantis Bugtracker