[
https://issues.jboss.org/browse/WFLY-8419?page=com.atlassian.jira.plugin....
]
Martin Simka moved JBEAP-9772 to WFLY-8419:
-------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-8419 (was: JBEAP-9772)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Test Suite
(was: Test Suite)
Affects Version/s: (was: 7.1.0.DR14)
poll pool stats in loop instead of Thread.sleep in
AbstractDatasourceCapacityPoliciesTestCase
---------------------------------------------------------------------------------------------
Key: WFLY-8419
URL:
https://issues.jboss.org/browse/WFLY-8419
Project: WildFly
Issue Type: Task
Components: Test Suite
Reporter: Martin Simka
Assignee: Martin Simka
Priority: Trivial
There is {{Thread.sleep}} in
[
AbstractDatasourceCapacityPoliciesTestCase.java#L130|https://github.com/w...]
which is used to wait until pool is filled with expected number of connections. But it is
generally better to loop around for a while until things are in the right state, and then
fail if that state does not happen within a (adjustable) timeout
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)