projects
/
mudpy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
787d1bc
)
Don't wait during selftest process cleanup
author
Jeremy Stanley
<fungi@yuggoth.org>
Sat, 17 Apr 2021 16:05:03 +0000
(16:05 +0000)
committer
Jeremy Stanley
<fungi@yuggoth.org>
Sat, 17 Apr 2021 16:05:03 +0000
(16:05 +0000)
Remove an unconditional one-second delay after executing kill during
process cleanup. Subsequent torture tests indicate this was likely
unnecessary, but it slowed down testing considerably.
mudpy/tests/selftest.py
patch
|
blob
|
history
diff --git
a/mudpy/tests/selftest.py
b/mudpy/tests/selftest.py
index
88b95c0
..
bb6f28a
100644
(file)
--- a/
mudpy/tests/selftest.py
+++ b/
mudpy/tests/selftest.py
@@
-461,7
+461,6
@@
def start_service(config):
try:
# Stop the running service
os.kill(pid, 15)
- time.sleep(1)
except ProcessLookupError:
# If there was no process, just remove the stale PID file
os.remove(pidfile)