changeset 545:721bfca3a9dc

Work-around failing tests/test-bad-pull with slow bg process. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Work-around failing tests/test-bad-pull with slow bg process. Without the 'sleep 2' python dumb.py often appeared after hg clone. manifest hash: b32381ac46a7691f2a92595b650b2406853644c2 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCxOM+W7P1GVgWeRoRAjgTAJ9OqrikdK043Eiyyx9dG8DR1XZ7tgCggdmM AVYvAZO3P+WlaWDu3MaxEXY= =0XN5 -----END PGP SIGNATURE-----
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 01 Jul 2005 07:31:26 +0100
parents 3d4d5f2aba9a
children c8ae964109c1
files tests/test-bad-pull tests/test-bad-pull.out
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-bad-pull	Fri Jul 01 07:22:27 2005 +0100
+++ b/tests/test-bad-pull	Fri Jul 01 07:31:26 2005 +0100
@@ -18,6 +18,7 @@
 EOF
 
 python dumb.py 2>/dev/null &
+sleep 2
 
 hg clone http://localhost:20059/foo copy2
 echo $?
--- a/tests/test-bad-pull.out	Fri Jul 01 07:22:27 2005 +0100
+++ b/tests/test-bad-pull.out	Fri Jul 01 07:31:26 2005 +0100
@@ -7,7 +7,9 @@
 + echo 255
 255
 + ls copy
+ls: copy: No such file or directory
 + cat
++ sleep 2
 + python dumb.py
 + hg clone http://localhost:20059/foo copy2
 requesting all changes