We're updating the issue view to help you get more done. 

OAI-PMH Tests Fails Regularly

Steps to reproduce

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
```

Status

Assignee

Christoph Driessen

Reporter

Lars Kiesow

Severity

Build Error

Tags (folksonomy)

None

Components

Fix versions

Affects versions

3.0

Priority

Critical