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 a1ccd245c432d7486121d5fa0800ed8f32eb4939..1c62dc548f325e0f188c97d04de7e84505292b3f 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)