[jboss-jira] [JBoss JIRA] (WFLY-9962) ReverseProxyTestCase fails when running after ForwardedHandlerTestCase

Jan Kalina (JIRA) issues at jboss.org
Tue Mar 6 09:40:00 EST 2018


Jan Kalina created WFLY-9962:
--------------------------------

             Summary: ReverseProxyTestCase fails when running after ForwardedHandlerTestCase
                 Key: WFLY-9962
                 URL: https://issues.jboss.org/browse/WFLY-9962
             Project: WildFly
          Issue Type: Bug
          Components: Test Suite
    Affects Versions: 12.0.0.Final
            Reporter: Jan Kalina


When ForwardedHandlerTestCase installs {{/subsystem=undertow/configuration=filter/expression-filter=ff}}, even through it removes it after, {{/proxy}} location defined as part of ReverseProxyTestCase setup returns error 404:

{code}
testReverseProxy(org.jboss.as.test.integration.web.reverseproxy.ReverseProxyTestCase)  Time elapsed: 0.087 sec  <<< FAILURE!
java.lang.AssertionError: expected:<200> but was:<404>
{code}

* Direct calling of {{/server1/name}} and {{/server2/name}} from the same tests gives 200 correctly.
* When I comment out the ff filter setup (or skip whole ForwardedHandlerTestCase), ReverseProxyTestCase suceed.
* When I copy configuration and deployments from running test and run in standalone server outside of test, proxy works correctly.

As it is unrelated to my original issue in the end, keeping unresolved for now.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list