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.
This commit is contained in:
James Prestwood 2021-09-07 09:54:35 -07:00 committed by Denis Kenzior
parent 7123f47f84
commit 920dc5b087
1 changed files with 2 additions and 2 deletions

View File

@ -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'