| Index: client/bin/site_job.py
|
| diff --git a/client/bin/site_job.py b/client/bin/site_job.py
|
| index 2cec72654d0f726eec8cd10b2f2010f61144956d..461ede580417c679bfd3ef4eb9f905b4493bbfae 100755
|
| --- a/client/bin/site_job.py
|
| +++ b/client/bin/site_job.py
|
| @@ -3,18 +3,22 @@
|
| # found in the LICENSE file.
|
|
|
| import os
|
| -
|
| -from autotest_lib.client.bin import boottool, site_logging, utils
|
| +from datetime import datetime
|
| +from autotest_lib.client.bin import boottool, utils
|
| from autotest_lib.client.bin.job import base_client_job
|
| from autotest_lib.client.common_lib import error
|
| -from datetime import datetime
|
| +from autotest_lib.client.cros import cros_logging
|
| +
|
|
|
| LAST_BOOT_TAG = object()
|
|
|
| class site_job(base_client_job):
|
| +
|
| +
|
| def __init__(self, *args, **kwargs):
|
| base_client_job.__init__(self, *args, **kwargs)
|
|
|
| +
|
| def _runtest(self, url, tag, args, dargs):
|
| # this replaced base_client_job._runtest, which is called by
|
| # base_client_job.runtest.group_func (see job.py)
|
| @@ -25,8 +29,9 @@ class site_job(base_client_job):
|
| self.last_error = detail
|
| raise
|
|
|
| +
|
| def run_test(self, url, *args, **dargs):
|
| - log_pauser = site_logging.LogRotationPauser()
|
| + log_pauser = cros_logging.LogRotationPauser()
|
| passed = False
|
| try:
|
| log_pauser.begin()
|
|
|