# HG changeset patch # User Alexis S. L. Carvalho # Date 1175930875 10800 # Node ID 66249be9aa2302ee251d5cc3586a752bbd1961a5 # Parent 6e4334be0aaae0eed94ae589ef4dfb3a2281787a test-bad-pull: try to avoid timing-related failures diff -r 6e4334be0aaa -r 66249be9aa23 tests/test-bad-pull --- a/tests/test-bad-pull Sat Apr 07 04:27:55 2007 -0300 +++ b/tests/test-bad-pull Sat Apr 07 04:27:55 2007 -0300 @@ -20,6 +20,9 @@ python dumb.py 2>/dev/null & echo $! >> $DAEMON_PIDS +# give the server some time to start running +sleep 1 + http_proxy= hg clone http://localhost:20059/foo copy2 2>&1 | \ sed -e 's/404.*/404/' -e 's/Date:.*/Date:/' echo $?