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

Jan Kalina (JIRA) issues at jboss.org
Tue Mar 6 10:34:03 EST 2018


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

Jan Kalina updated WFLY-9962:
-----------------------------
    Description: 
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 unassigned.

  was:
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.



> 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 unassigned.



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


More information about the jboss-jira mailing list