Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-1241 Address EJB3 TestSuite Regressions
  3. EJBTHREE-1753

persistenceunits MultipleEarTestCase.testServerFound fails due to changed error message

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • Major
    • 1.1.2
    • None
    • testsuite
    • None

    Description

      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.

      Attachments

        Activity

          People

            arubinge@redhat.com Andrew Rubinger (Inactive)
            arubinge@redhat.com Andrew Rubinger (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: