Uploaded image for project: 'JDO'
  1. JDO
  2. JDO-768

Failure in api test case testGetPMFNullResource(javax.jdo.JDOHelperTest)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • JDO 3.1
    • JDO 3.2
    • api
    • None

    Description

      Test method testGetPMFNullResource of API test class JDOHelperTest fails when running 'mvn clean verify' in the submodule api:

      testGetPMFNullResource(javax.jdo.JDOHelperTest)  Time elapsed: 0.003 sec  <<< FAILURE!
      junit.framework.AssertionFailedError: Null resource name should result in JDOFatalUserException
      	at junit.framework.Assert.fail(Assert.java:47)
      	at javax.jdo.JDOHelperTest.testGetPMFNullResource(JDOHelperTest.java:196)
      

      Please note, the test case succeeds when running it alone:

      mvn -Dtest=javax.jdo.JDOHelperTest clean verify
      

      It fails if the test case PMFMapMapTest is executed before JDOHelperTest:

      mvn -Dtest=javax.jdo.PMFMapMapTest,javax.jdo.JDOHelperTest clean verify
      

      Attachments

        1. JDO-768-patch.txt
          5 kB
          Michael Bouschen

        Activity

          People

            mbo Michael Bouschen
            mbo Michael Bouschen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: