we can add multiple test suits to the queue at any time to be executed.
Removing the test suite from the queue
oper@ftasvm:~$./qjob.py-aremove-s/home/oper/testsuites/data_4dut.suite[INFO]: Test job removed /home/oper/testsuites/data_4dut.suiteoper@ftasvm:~$oper@ftasvm:~$./qjob.py-ashowJob_Queue: ['/home/oper/testsuites/data_2dut.suite']QueueStatus:pausedoper@ftasvm:~$
Changing queue status
There are two statuses in the job queue:
When the job queue is in "paused" status, the test_runner service does not pick any job in the queue for execution.
When the job queue is in "running" status, the test_runner service picks the oldest job in the queue for execution. After the test case execution is complete the queue test_runner service changes the queue status to "paused".
oper@linux:~$./qjob.py-Srunning
Changing the queue status from running to paused when there is a running job, won't stop the running job but the test_runner service won't pick the next job for execution.
Kill or terminate a running job
After terminating the running job test_runner service pauses the queue.
oper@linux:~$./qjob.py-akill_jobTryingtoterminaterunningjob...done[INFO]: The queue is paused. Please update its status after your debuggingoper@linux:~$./qjob.py-aremove-s/home/oper/testsuites/data_2dut.suite[INFO]: Test job removed /home/oper/testsuites/data_2dut.suiteoper@ftasvm:~$