chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6a5964b
)
Wait a bit long for subprocesses to clear off.
author
Richard Kettlewell
<rjk@greenend.org.uk>
Sat, 1 Nov 2008 12:44:32 +0000
(12:44 +0000)
committer
Richard 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
patch
|
blob
|
blame
|
history
diff --git
a/tests/dtest.py
b/tests/dtest.py
index a1ccd245c432d7486121d5fa0800ed8f32eb4939..1c62dc548f325e0f188c97d04de7e84505292b3f 100644
(file)
--- a/
tests/dtest.py
+++ b/
tests/dtest.py
@@
-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
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)
def run(module=None, report=True):
"""dtest.run(MODULE)