[jboss-jira] [JBoss JIRA] (AS7-3839) WebSecurityJBossSimpleRoleMappingTestCase fails during testsuite execution

Darran Lofthouse (JIRA) jira-events at lists.jboss.org
Tue Feb 21 05:56:36 EST 2012


    [ https://issues.jboss.org/browse/AS7-3839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669486#comment-12669486 ] 

Darran Lofthouse commented on AS7-3839:
---------------------------------------

I believe this is actually a duplicate of AS7-3614 - when I was debugging the issue it appears that the tests do not consistently clean up after themselves and so the wrong domain is used - in addition to that the tests have been implemented so that initialisation and clean up fail silently even though they are an essential part of the test process and must succeed for the tests to pass.
                
> WebSecurityJBossSimpleRoleMappingTestCase fails during testsuite execution
> --------------------------------------------------------------------------
>
>                 Key: AS7-3839
>                 URL: https://issues.jboss.org/browse/AS7-3839
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Test Suite
>         Environment: commit 4620414e3c56a171c6cd6952ddad26d88c86f355
>            Reporter: Jan Lanik
>            Assignee: Peter Skopek
>         Attachments: org.jboss.as.test.integration.web.security.WebSecurityJBossSimpleRoleMappingTestCase-output.txt, org.jboss.as.test.integration.web.security.WebSecurityJBossSimpleRoleMappingTestCase.txt, server.log, test.log
>
>
> Run testsuite as follows:
> $ ./integration-tests.sh clean install -Dts.basic
> Usually, the run fails with following error:
> Results :
> Failed tests:   testPasswordBasedUnsuccessfulAuth(org.jboss.as.test.integration.web.security.WebSecurityJBossSimpleRoleMappingTestCase): expected:<403> but was:<200>
>   testPrincipalMappingOnRole(org.jboss.as.test.integration.web.security.WebSecurityJBossSimpleRoleMappingTestCase): expected:<200> but was:<403>
> I'll add surefire reports and server log.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list