From: Janusz Dziedzic Date: Sun, 10 Jan 2021 15:50:46 +0000 (+0100) Subject: tests: remotehost: Remove wait_execute_complete X-Git-Tag: hostap_2_10~706 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b02a56bedb2bd44fb25f88760c433f31154606c0;p=thirdparty%2Fhostap.git tests: remotehost: Remove wait_execute_complete Today we have thread_wait(). Fixes: 11b3af3dad12 ("tests: remotehost: Use correct name") Signed-off-by: Janusz Dziedzic --- diff --git a/tests/hwsim/remotehost.py b/tests/hwsim/remotehost.py index a5b85ac7d..60ad9792f 100644 --- a/tests/hwsim/remotehost.py +++ b/tests/hwsim/remotehost.py @@ -130,18 +130,18 @@ class Host(): self.execute(cmd) # try again - self.wait_execute_complete(t, 5) + self.thread_wait(t, 5) if t.isAlive(): cmd = ["kill `cat " + pid_file + "`"] self.execute(cmd) # try with -9 - self.wait_execute_complete(t, 5) + self.thread_wait(t, 5) if t.isAlive(): cmd = ["kill -9 `cat " + pid_file + "`"] self.execute(cmd) - self.wait_execute_complete(t, 5) + self.thread_wait(t, 5) if t.isAlive(): raise Exception("thread still alive")