In the home folder of the logged-in user, there is a Python script name "qjob.py". This script handles test scheduling.
Following is a brief usage of the script:
The script can take the following actions:
Show the current queue
When no tests are scheduled the script will show an empty queue.
Adding test suite to the queue
we can add multiple test suits to the queue at any time to be executed.
Removing the test suite from the queue
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".
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.