D-Bus testing: avoid hogging the CPU during process shutdown
While waiting for the processes to quit, at least sleep for short periods of time. Generally a good idea, and seems to be necessary on the new nightly test setup to give the processes enough CPU time to really shut down.
This commit is contained in:
parent
fd539a5f46
commit
f5b5915bec
|
@ -724,6 +724,7 @@ class DBusUtil(Timeout):
|
|||
logging.printf("all process gone at %s",
|
||||
time.asctime())
|
||||
return []
|
||||
time.sleep(0.1)
|
||||
# Force killing of remaining children. It's still possible
|
||||
# that one of them quits before we get around to sending the
|
||||
# signal.
|
||||
|
|
Loading…
Reference in New Issue