D5157: tests: sleep longer in test-logtoprocess.t
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Fri Oct 19 15:28:47 UTC 2018
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
We should probably write some sort of helper that can wait N seconds
for all specified values to appear in a file or something, but for now
this will fix the FreeBSD buildbot.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D5157
AFFECTED FILES
tests/test-logtoprocess.t
CHANGE DETAILS
diff --git a/tests/test-logtoprocess.t b/tests/test-logtoprocess.t
--- a/tests/test-logtoprocess.t
+++ b/tests/test-logtoprocess.t
@@ -47,7 +47,7 @@
Use sort to avoid ordering issues between the various processes we spawn:
$ hg foo
- $ sleep 0.2
+ $ sleep 1
$ cat $TESTTMP/command.log | sort
command
@@ -84,7 +84,7 @@
> EOF
$ hg log
- $ sleep 0.2
+ $ sleep 1
$ cat $TESTTMP/uiblocked.log
uiblocked stdio [0-9]+.[0-9]* ms command [0-9]+.[0-9]* ms (re)
To: durin42, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list