[jboss-jira] [JBoss JIRA] (WFLY-8270) UndertowSslSecurityDomainTestCase - close client to avoid resource leaks

Ondrej Kotek (JIRA) issues at jboss.org
Wed Mar 1 10:23:00 EST 2017


     [ https://issues.jboss.org/browse/WFLY-8270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ondrej Kotek moved JBEAP-9226 to WFLY-8270:
-------------------------------------------

              Project: WildFly  (was: JBoss Enterprise Application Platform)
                  Key: WFLY-8270  (was: JBEAP-9226)
             Workflow: GIT Pull Request workflow   (was: CDW with loose statuses v1)
          Component/s: Test Suite
                           (was: Test Suite)
    Affects Version/s: 11.0.0.Alpha1
                           (was: 7.1.0.DR12)


> UndertowSslSecurityDomainTestCase - close client to avoid resource leaks
> ------------------------------------------------------------------------
>
>                 Key: WFLY-8270
>                 URL: https://issues.jboss.org/browse/WFLY-8270
>             Project: WildFly
>          Issue Type: Bug
>          Components: Test Suite
>    Affects Versions: 11.0.0.Alpha1
>            Reporter: Ondrej Kotek
>            Assignee: Ondrej Kotek
>
> There are 4 tests in https://github.com/wildfly/wildfly/blob/master/testsuite/elytron/src/test/java/org/wildfly/test/integration/elytron/ssl/UndertowSslSecurityDomainTestCase.java#L122 and each is creating client and making the call.
> But the client is never closed.
> I checked https://github.com/wildfly/wildfly/blob/master/testsuite/shared/src/main/java/org/jboss/as/test/integration/security/common/Utils.java#L397 but it doesn't close the client either.
> I think it makes sense to enhance those 4 tests with {{client.close();}} lines.
> Changing Utils class can cause regressions when client is used for multiple calls.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list