Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed and reviewed
    • Affects versions: 3.0
    • Fix versions: 3.0
    • Components: Tests
    • Labels:
      None
    • Severity:
      Build Error
    • Steps to reproduce:
      Hide
      The OaiPmhPersistenceTests fail on a regular basis. This has been confirmed by multiple developers on multiple systems. They do not always fail.

      ```
      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      Running org.opencastproject.oaipmh.persistence.OaiPmhPersistenceTest
      01:53:43 INFO (OaiPmhDatabaseImpl:77) - Activating persistence manager for OAI-PMH
      01:53:43 INFO (OaiPmhDatabaseImpl:77) - Activating persistence manager for OAI-PMH
      01:53:43 INFO (OaiPmhDatabaseImpl:77) - Activating persistence manager for OAI-PMH
      01:53:43 INFO (OaiPmhDatabaseImpl:77) - Activating persistence manager for OAI-PMH
      01:53:44 INFO (OaiPmhDatabaseImpl:77) - Activating persistence manager for OAI-PMH
      Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.165 sec <<< FAILURE! - in org.opencastproject.oaipmh.persistence.OaiPmhPersistenceTest
      testRetrieving(org.opencastproject.oaipmh.persistence.OaiPmhPersistenceTest) Time elapsed: 0.122 sec <<< FAILURE!
      java.lang.AssertionError: expected:<0> but was:<1>
              at org.opencastproject.oaipmh.persistence.OaiPmhPersistenceTest.testRetrieving(OaiPmhPersistenceTest.java:176)


      Results :

      Failed tests:
        OaiPmhPersistenceTest.testRetrieving:176 expected:<0> but was:<1>

      Tests run: 5, Failures: 1, Errors: 0, Skipped: 0
      ```
      Show
      The OaiPmhPersistenceTests fail on a regular basis. This has been confirmed by multiple developers on multiple systems. They do not always fail. ``` -------------------------------------------------------  T E S T S ------------------------------------------------------- Running org.opencastproject.oaipmh.persistence.OaiPmhPersistenceTest 01:53:43 INFO (OaiPmhDatabaseImpl:77) - Activating persistence manager for OAI-PMH 01:53:43 INFO (OaiPmhDatabaseImpl:77) - Activating persistence manager for OAI-PMH 01:53:43 INFO (OaiPmhDatabaseImpl:77) - Activating persistence manager for OAI-PMH 01:53:43 INFO (OaiPmhDatabaseImpl:77) - Activating persistence manager for OAI-PMH 01:53:44 INFO (OaiPmhDatabaseImpl:77) - Activating persistence manager for OAI-PMH Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.165 sec <<< FAILURE! - in org.opencastproject.oaipmh.persistence.OaiPmhPersistenceTest testRetrieving(org.opencastproject.oaipmh.persistence.OaiPmhPersistenceTest) Time elapsed: 0.122 sec <<< FAILURE! java.lang.AssertionError: expected:<0> but was:<1>         at org.opencastproject.oaipmh.persistence.OaiPmhPersistenceTest.testRetrieving(OaiPmhPersistenceTest.java:176) Results : Failed tests:   OaiPmhPersistenceTest.testRetrieving:176 expected:<0> but was:<1> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0 ```

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              cedriessen Christoph Driessen
              Reporter:
              lkiesow Lars Kiesow
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                TestRail: Cases