...
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 jobs started | Number of jobs | 2 | ||
Verify jobs submitted Number of jobs | 1 | Verify jobs new | Number of jobs | 1 2 |
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 new | Number | 1 |
Verify jobs new Jobs done | Number | 0 1 |