Skip to content
Snippets Groups Projects
Commit 11807582 authored by Eric Cano's avatar Eric Cano
Browse files

Change synchronisation to ensure order of jobs in the queue.

The test relies on this order.
parent 875792d8
Branches
Tags
No related merge requests found
Pipeline #32477 failed
......@@ -131,8 +131,8 @@ TEST_P(OStoreDBTest, getBatchArchiveJob) {
afqc.mountPolicy.retrieveMinRequestAge = 1;
afqc.mountPolicy.maxDrivesAllowed = 1;
osdbi.queueArchive("testInstance", ar, afqc, lc);
osdbi.waitSubthreadsComplete();
}
osdbi.waitSubthreadsComplete();
// Delete the first job from the queue, change owner of second.
// They will be automatically skipped when getting jobs
std::string aqAddr;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment