Set HQEs to "Verifying" instead of "Starting" when we're about to run verify on them.  We need to set them to an active status, but if we use "Starting" then we can't tell which stage they're in, and we need that information to know when to "stop" synchronous jobs.



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2482 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/scheduler/monitor_db.py b/scheduler/monitor_db.py
index aa6ec13..e5e316e 100644
--- a/scheduler/monitor_db.py
+++ b/scheduler/monitor_db.py
@@ -1936,7 +1936,7 @@
             self.update_field('active', False)
 
         if status in ['Pending', 'Running', 'Verifying', 'Starting',
-                      'Abort', 'Aborting']:
+                      'Aborting']:
             self.update_field('complete', False)
             self.update_field('active', True)
 
@@ -2285,7 +2285,7 @@
     def run(self, queue_entry):
         if not self.is_ready():
             if self.run_verify:
-                queue_entry.set_status('Starting')
+                queue_entry.set_status(models.HostQueueEntry.Status.VERIFYING)
                 return Agent(self._get_pre_job_tasks(queue_entry),
                              [queue_entry.id])
             else: