[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-1753) persistenceunits MultipleEarTestCase.testServerFound fails due to changed error message

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Thu Mar 5 15:23:22 EST 2009


persistenceunits MultipleEarTestCase.testServerFound fails due to changed error message
---------------------------------------------------------------------------------------

                 Key: EJBTHREE-1753
                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-1753
             Project: EJB 3.0
          Issue Type: Sub-task
          Components: testsuite
         Environment: EJB3 Integration TestSuite org.jboss.ejb3.test.persistenceunits.unit.MultipleEarTestCase.testServerFound
            Reporter: Andrew Lee Rubinger
            Assignee: Andrew Lee Rubinger
             Fix For: 1.1.2


>From new logs:

Error message is: vfszip:/home/alrubinger/business/jboss/wc/jbossas/projects/ejb3/trunk/testsuite/target/test-lib/persistenceunitscope-test2.ear/, looking for this to end in persistenceunitscope-test2.ear

Looks like the error message has changed to include a "/".  Update the test to be a bit more resilient (instead look that the error *contains* the right EAR, not *ends in* it.

Bad practice to depend upon internals (ie. specific, non-contracted error messages) in testing, but the API doesn't expose great information otherwise.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list