Don't try to offload results if the results_host is localhost.  This was 
causing duplicate results for normal (single-host) setups.

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

--- autotest/scheduler/archive_results.py       2010-01-11 16:39:31.000000000 
-0800
+++ autotest/scheduler/archive_results.py       2010-01-11 16:39:31.000000000 
-0800
@@ -8,7 +8,7 @@
     def archive_results(self, path):
         results_host = global_config.global_config.get_config_value(
                 'SCHEDULER', 'results_host', default=None)
-        if not results_host:
+        if not results_host or results_host == 'localhost':
             return
 
         logging.info('Archiving %s to %s', path, results_host)
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to