X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/e64832ce64fab3577bc51996cbabedb187633e5a..030723a851a8f8e34970a4c63dd8aaf7174c769e:/tests/dtest.py?ds=sidebyside diff --git a/tests/dtest.py b/tests/dtest.py index be45435..5015c48 100644 --- 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)