From 3679895b52c48070dd874b92e2b7e01dcd232feb Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Sat, 17 Apr 2021 16:05:03 +0000 Subject: [PATCH] Don't wait during selftest process cleanup 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 | 1 - 1 file changed, 1 deletion(-) diff --git a/mudpy/tests/selftest.py b/mudpy/tests/selftest.py index 88b95c0..bb6f28a 100644 --- 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) -- 2.11.0