Don't implicitly register pidfiles when get_pidfile_contents() is called.  The 
scheduler is now registering and unregistering pidfiles correctly on its own, 
and this was causing files to get accidentally re-registered after being 
unregistered, causing pidfile leaks.

Signed-off-by: Steve Howard <[email protected]>

--- autotest/scheduler/drone_manager.py 2010-01-21 11:33:25.000000000 -0800
+++ autotest/scheduler/drone_manager.py 2010-01-21 11:33:25.000000000 -0800
@@ -543,7 +543,6 @@
         use_second_read is True, use results that were read after the processes
         were checked, instead of before.
         """
-        self.register_pidfile(pidfile_id)
         if use_second_read:
             pidfile_map = self._pidfiles_second_read
         else:
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to