diff options
author | lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> | 2011-06-01 17:47:07 +0000 |
---|---|---|
committer | lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> | 2011-06-01 17:47:07 +0000 |
commit | 90123972ea31e6fa1cb6fe353bedb7baa928bc0c (patch) | |
tree | 542762f64e215e2b1abd5b2c9bb4f28b601d77bc | |
parent | abf2f3029c3a3f9b2fbe960b3065bed4ff2f2f52 (diff) |
KVM-test: Use isAlive to check the status of Thread
The attribute is_alive is imported in python 2.6, so can not run
it in hosts with python 2.4 such as RHEL5. Just use isAlive().
Signed-off-by: Yiqiao Pu <ypu@redhat.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@5391 592f7852-d20e-0410-864c-8624ca9c26a4
-rw-r--r-- | client/virt/tests/netperf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/virt/tests/netperf.py b/client/virt/tests/netperf.py index 8a80d133..458364a5 100644 --- a/client/virt/tests/netperf.py +++ b/client/virt/tests/netperf.py @@ -95,7 +95,7 @@ def run_netperf(test, params, env): while not completed: completed = True for b in bg: - if b.is_alive(): + if b.isAlive(): completed = False finally: try: |