Fix process counting for SelfThrottledPostJobTask. Would previously
lose a slot for a process permanently if the paired results were lost
before the process started.

Signed-off-by: James Ren <[email protected]>

--- autotest/scheduler/monitor_db.py    2010-04-23 18:01:29.000000000 -0700
+++ autotest/scheduler/monitor_db.py    2010-04-23 18:01:29.000000000 -0700
@@ -2488,7 +2488,8 @@
 
         # actually run the command
         super(SelfThrottledPostJobTask, self).run()
-        self._increment_running_processes()
+        if self._process_started():
+            self._increment_running_processes()
 
 
     def finished(self, success):
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to