Capture Agent tests fail occasionally

Steps to reproduce

Steps to reproduce:
1. Compile the capture agent bundle many times
Intermittently get:

createIngestJobWithOneFailureAndOneSuccessStops(org.opencastproject.capture.impl.jobs.IngestJobTest) Time elapsed: 15.037 sec <<< FAILURE!
junit.framework.AssertionFailedError: Test Timed Out
at junit.framework.Assert.fail(Assert.java:47)
at org.opencastproject.capture.impl.jobs.IngestJobTest$Waiter.sleepWait(IngestJobTest.java:85)
at org.opencastproject.capture.impl.jobs.IngestJobTest.createIngestJobWithOneFailureAndOneSuccessStops(IngestJobTest.java:179)

[...]

createIngestJobTestWith3TriesPausesSuccessfully(org.opencastproject.capture.impl.jobs.IngestJobTest) Time elapsed: 0.004 sec <<< ERROR!
org.quartz.ObjectAlreadyExistsException: Unable to store Job with name: 'IngestJob-fake-Recording-ID' and group: 'capture_related', because one already exists with this identification.
at org.quartz.simpl.RAMJobStore.storeJob(RAMJobStore.java:222)
at org.quartz.simpl.RAMJobStore.storeJobAndTrigger(RAMJobStore.java:195)
at org.quartz.core.QuartzScheduler.scheduleJob(QuartzScheduler.java:732)
at org.quartz.impl.StdScheduler.scheduleJob(StdScheduler.java:265)
at org.opencastproject.capture.impl.jobs.IngestJobTest.createIngestJobTestWith3TriesPausesSuccessfully(IngestJobTest.java:205)

Status

Assignee

Unassigned

Reporter

Adam McKenzie

Severity

Build Error

Tags (folksonomy)

None

Components

Affects versions

1.4.0

Priority

Critical
Configure