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 for agilos.org | Domain | |
Create selective harvest and add domain for mikis | Domain | |
Create selective harvest and add domain for agilis-software | Domain | |
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 should (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 number jobs started | Number of jobs started are | 2 | ||
Verify number of jobs submitted are | 1 | Verify number new | Number of jobs new are | 1 2 |
Wait for the first job is done (with 5 minuts minutes timeout)
Wait for next done job | Timeout | 300 |
Verify number of jobs started are | Number | 2 |
Verify number of jobs submitted arejobs new | Number | 1 |
Verify number of jobs new are 0 Jobs done | Number | 1 |