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:
e64832c
)
Wait a bit after stopping the daemon when testsing, to stop silly
author
Richard Kettlewell
<rjk@greenend.org.uk>
Sat, 18 Oct 2008 10:45:37 +0000
(11:45 +0100)
committer
Richard Kettlewell
<rjk@greenend.org.uk>
Sat, 18 Oct 2008 10:45:37 +0000
(11:45 +0100)
races.
tests/dtest.py
patch
|
blob
|
blame
|
history
diff --git
a/tests/dtest.py
b/tests/dtest.py
index be454354b3e2a799c19c0262be043b715d0c2442..5015c4893a573afd9664d7729d772984c1bdecc6 100644
(file)
--- a/
tests/dtest.py
+++ b/
tests/dtest.py
@@
-294,6
+294,8
@@
Stop the daemon if it has not stopped already"""
else:
print " daemon already stopped"
daemon = None
+ # Wait a bit for subprocess to finish too, to try to avoid stupid races
+ time.sleep(1)
def run(module=None, report=True):
"""dtest.run(MODULE)