]
Matt Wringe reassigned GTNWCI-25:
---------------------------------
Assignee: Marko Strukelj
SPICrossContextLogouTestCase fails with Jetty
---------------------------------------------
Key: GTNWCI-25
URL:
https://issues.jboss.org/browse/GTNWCI-25
Project: GateIn Web Container Integration
Issue Type: Bug
Reporter: Matt Wringe
Assignee: Marko Strukelj
The SPICrossContextLogoutTestCase fails when used on Jetty.
The failure has been happening for a while, but the JBoss Unit default is to not stop the
build on failures and it doesn't create proper test reports to easily find the
problem. The build is now configured to fail on a test failure.
Unfortunately the wci tests are a bit fragile, and the failed test assertion in the
SPICrossContextLogoutTestCase causes error messages which have nothing to do with the test
failure. In order to see the failure, you will need to comment out the other tests in
test/core/src/main/resources/org/gatein/portal/test/web/spi/native/server-beans.xml, if
you don't comment out the other tests you will instead receive an error about not
being able to deploy artifacts due to them already existing.
The assertion in question is at line 114 (assertEquals("", v.value);) this line
gets called twice during the tests, the first time its called it works fine, the second
time its called is when the problem occurs.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: