Bug 1531005 - (6.4.z) Pool.flush does not work correctly
Summary: (6.4.z) Pool.flush does not work correctly
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: JCA
Version: 6.4.19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: CR2
: EAP 6.4.19
Assignee: Flavia Rainone
QA Contact: Jiří Bílek
URL:
Whiteboard:
Depends On:
Blocks: eap6419-payload 1533009
TreeView+ depends on / blocked
 
Reported: 2018-01-04 12:15 UTC by Jiří Bílek
Modified: 2018-04-16 11:04 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-16 11:04:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jiří Bílek 2018-01-04 12:15:17 UTC
Description of problem:
There is some leak in flushing of connections when is using Pool.flush.

Version-Release number of selected component (if applicable):
 IronJacamar with version 1.0.40.Final

How reproducible:
100%

Steps to Reproduce:

DataSource ds = getDataSource();
Pool pool = ds.getPool();
// create some connection
pool.flush(true);
// poolStatistics.getActiveCount() bigger than 0


Actual results:
poolStatistics.getActiveCount() is bigger than 0

Expected results:
poolStatistics.getActiveCount() should be equal to 0

Additional info:
This is regression against EAP 6.4.18.CP

Newly failing tests in ironjacamar testsuite:
 org.jboss.jca.core.connectionmanager.connections.InterleavingTestCase.testFailedEndTx
 org.jboss.jca.rhq.test.DsTestCase.testDsPoolFlush

Comment 7 Jiří Bílek 2018-01-16 12:37:43 UTC
Verified with EAP 6.4.19.CP.CR2


Note You need to log in before you can comment on or make changes to this bug.