chiark / gitweb /
Wait a bit long for subprocesses to clear off.
authorRichard Kettlewell <rjk@greenend.org.uk>
Sat, 1 Nov 2008 12:44:32 +0000 (12:44 +0000)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sat, 1 Nov 2008 12:44:32 +0000 (12:44 +0000)
The real fix is to make the server wait more reliably for its
subprocesses to terminate when it's shut down.

tests/dtest.py

index a1ccd24..1c62dc5 100644 (file)
@@ -293,7 +293,7 @@ Stop the daemon if it has not stopped already"""
         print "  daemon already stopped"
     daemon = None
     # Wait a bit for subprocess to finish too, to try to avoid stupid races
-    time.sleep(1)
+    time.sleep(2)
 
 def run(module=None, report=True):
     """dtest.run(MODULE)