From 90123972ea31e6fa1cb6fe353bedb7baa928bc0c Mon Sep 17 00:00:00 2001 From: lmr Date: Wed, 1 Jun 2011 17:47:07 +0000 Subject: [PATCH] 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 git-svn-id: svn://test.kernel.org/autotest/trunk@5391 592f7852-d20e-0410-864c-8624ca9c26a4 --- client/virt/tests/netperf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.11.4.GIT