[jboss-jira] [JBoss JIRA] (WFLY-8270) Fix and improve Undertow* tests in elytron module

Ondrej Kotek (JIRA) issues at jboss.org
Thu Mar 2 04:49:00 EST 2017


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

Ondrej Kotek updated WFLY-8270:
-------------------------------
    Summary: Fix and improve Undertow* tests in elytron module  (was: UndertowSslSecurityDomainTestCase - close client to avoid resource leaks)


> Fix and improve Undertow* tests in elytron module
> -------------------------------------------------
>
>                 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