Excerpt |
---|
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:
...
Create 4 selektive harvest jobs
Create selective harvest and add domain | Domain | |
Create selective harvest and add domain | Domain | mikisdbc.dk |
Create selective harvest and add domain | Domain | agilis-softwarenetarkivet.dk |
Create selective harvest | Domain |
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 (one pr. HIGH_PRIORITY harvester). The remaining two jobs should remain in state 'New' until a harvest finishs and the queue next job is started.
Verify jobs are created | JobIDs | 1,2,3,4 | |||
Verify jobs started | Number of jobs | 2 | |||
Verify jobs submitted new | Number | 1 | Verify of jobs new | Number 2 | 1 |
Wait for the first job is done (with 5 minuts minutes timeout)
Wait for next done job | Timeout | 300 |
Verify jobs started | Number | 2 |
Verify jobs submitted new | Number | 1 |
Verify jobs new Jobs done | Number | 0 1 |