Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

No more than 1 job should be placed in the dispatch queue at a time
Issues: NARC-11  

The number of HarvestJobs queue for processing should be minimized at a given time for the following reasons:

  • When the HarvestJobManager is restarted, all queue jobs are resubmitted which will cause dublicate processing of the HarvestJobs
  • Modifing HarvestDefinitions will not have an effect on queue jobs.

Test specification

Create 4 selektive harvest jobs

Create selective harvest

Domain

bs.dk

Create selective harvest

Domain

dbc.dk

Create selective harvest

Domain

netarkivet.dk

Create selective harvest

Domain

kb.dk

Activate all harvests

Because only 2 selective harvesters (high-priority) are available, only 2 of the jobs should be started initially. one of the remaining jobs should be queued, and the last one should remain in state 'New' until a harvest finishs and the queue job is

Verify jobs are created

JobIDs

1,2,3,4

Verify jobs started

Number of jobs

2

Verify jobs submitted

Number of jobs

1

Verify jobs new

Number of jobs

1

Wait for the first job is done (with 5 minutes timeout)

Wait for next done job

Timeout

300

Verify jobs started

Number

2

Verify jobs submitted

Number

1

Verify jobs new

Number

0

  • No labels