commit 920dc5b087bc7b0de8cbdb678a56339de970ff7c
parent 7123f47f841e6fcec7f7583893aedf8f4c8689ed
Author: James Prestwood <prestwoj@gmail.com>
Date: Tue, 7 Sep 2021 09:54:35 -0700
test-runner: don't use start_process for transient processes
Any process which is short lived and waited for should just use
Process directly as to not add to the process queue.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/test-runner b/tools/test-runner
@@ -464,8 +464,8 @@ class Hostapd:
print("Initializing hostapd instances")
- ctx.start_process(['ip', 'link', 'set', 'eth0', 'up']).wait()
- ctx.start_process(['ip', 'link', 'set', 'eth1', 'up']).wait()
+ Process(['ip', 'link', 'set', 'eth0', 'up']).wait()
+ Process(['ip', 'link', 'set', 'eth1', 'up']).wait()
self.global_ctrl_iface = '/var/run/hostapd/ctrl'