client: pass run_test() timeout parameter to harness
commitd470536e4bdd1c5d1367d87576999a93915a4914
authorlmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4>
Tue, 15 Mar 2011 16:28:20 +0000 (15 16:28 +0000)
committerlmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4>
Tue, 15 Mar 2011 16:28:20 +0000 (15 16:28 +0000)
tree7d80dadc433f400c261d97b7d3ef3a3c336e39de
parent1ffe3a21afb0e5078e5846e149d0e1cfd5a92034
client: pass run_test() timeout parameter to harness

pass timeout parameter from run_test() to harness in call
test_status_detail('START',...), so that harness has a chance
to learn about timeout when test is started and react accordingly.

For example: harness could setup an external watchdog,
which would live on server-side and reboot machine when needed.
It is assumed, that harness will typically setup any external
watchdog with a value slightly larger than test timeout, so client
has a chance to terminate failing test by itself.

Signed-off-by: Jan Stancek <jstancek@redhat.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@5285 592f7852-d20e-0410-864c-8624ca9c26a4
client/bin/harness.py
client/bin/harness_ABAT.py
client/bin/job.py
client/bin/job_unittest.py
client/common_lib/base_job.py