changeset 52194:16b300e30139 stable

tests: bump the wait timeouts in test-racy-mutations.t This was done to try to figure out why there's output differences in the previous two commits- low timeouts have been a cause of a lot of problems on Windows. That doesn't seem to be the case here, but I'm leaving it in anyway to avoid sporadic failures.
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 05 Nov 2024 12:02:38 -0500
parents bda065f37f64
children 2ff4a2533b92
files tests/test-racy-mutations.t
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-racy-mutations.t	Tue Nov 05 11:50:29 2024 -0500
+++ b/tests/test-racy-mutations.t	Tue Nov 05 12:02:38 2024 -0500
@@ -17,7 +17,7 @@
   >     [ -n "\${WAITLOCK_ANNOUNCE:-}" ] && touch "\${WAITLOCK_ANNOUNCE}"
   >     f="\${WAITLOCK_FILE}"
   >     start=\`date +%s\`
-  >     timeout=5
+  >     timeout=20
   >     "$RUNTESTDIR_FORWARD_SLASH/testlib/wait-on-file" "\$timeout" "\$f"
   >     if [ \$# -gt 1 ]; then
   >         cat "\$@"
@@ -65,13 +65,12 @@
   > ) &
 
 Wait for the "editor" to actually start
-  $ sh "$RUNTESTDIR_FORWARD_SLASH/testlib/wait-on-file" 5 "${EDITOR_STARTED}"
-
+  $ sh "$RUNTESTDIR_FORWARD_SLASH/testlib/wait-on-file" 20 "${EDITOR_STARTED}"
 
 Do a concurrent edition
   $ cd ../racing-client
   $ touch ../pre-race
-  $ sleep 1
+  $ sleep 10
   $ echo bar > bar
   $ hg --repository ../racing-client commit -qAm 'r2 (bar)' bar
   $ hg --repository ../racing-client debugrevlogindex -c