# HG changeset patch # User Matt Mackall # Date 1332980651 18000 # Node ID de4cb5c420073091f84d6b9313a3ee6cae861e41 # Parent 74e114ac6ec1e1930ac2898770a002a3ce98f2b4 tests: fix startup race in test-http-proxy diff -r 74e114ac6ec1 -r de4cb5c42007 tests/test-http-proxy.t --- a/tests/test-http-proxy.t Wed Mar 28 19:23:25 2012 -0500 +++ b/tests/test-http-proxy.t Wed Mar 28 19:24:11 2012 -0500 @@ -8,10 +8,9 @@ $ hg --config server.uncompressed=True serve -p $HGPORT -d --pid-file=hg.pid $ cat hg.pid >> $DAEMON_PIDS $ cd .. - $ ("$TESTDIR/tinyproxy.py" $HGPORT1 localhost >proxy.log 2>&1 proxy.pid) + $ "$TESTDIR/tinyproxy.py" $HGPORT1 localhost >proxy.log 2>&1 > $DAEMON_PIDS - $ sleep 2 url for proxy, stream