Patchwork D8501: tests: increase internal timeouts

login
register
mail settings
Submitter phabricator
Date May 7, 2020, 1:03 p.m.
Message ID <differential-rev-PHID-DREV-2ssij37mncwd22dsegyt-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/46267/
State Superseded
Headers show

Comments

phabricator - May 7, 2020, 1:03 p.m.
joerg.sonnenberger created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  The default limit is not enough time for non-rust test cases on a
  Threadripper when using SMT, so bump the limit to 1/3 of the default
  timeout to provide some breathing room.

REPOSITORY
  rHG Mercurial

BRANCH
  stable

REVISION DETAIL
  https://phab.mercurial-scm.org/D8501

AFFECTED FILES
  tests/test-persistent-nodemap.t

CHANGE DETAILS




To: joerg.sonnenberger, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/tests/test-persistent-nodemap.t b/tests/test-persistent-nodemap.t
--- a/tests/test-persistent-nodemap.t
+++ b/tests/test-persistent-nodemap.t
@@ -346,14 +346,14 @@ 
   $ PATH=$RUNTESTDIR/testlib/:$PATH
   $ echo qpoasp > a
   $ hg ci -m a2 \
-  > --config "hooks.pretxnclose=wait-on-file 20 sync-repo-read sync-txn-pending" \
+  > --config "hooks.pretxnclose=wait-on-file 60 sync-repo-read sync-txn-pending" \
   > --config "hooks.txnclose=touch sync-txn-close" > output.txt 2>&1 &
 
 (read the repository while the commit transaction is pending)
 
-  $ wait-on-file 20 sync-txn-pending && \
+  $ wait-on-file 60 sync-txn-pending && \
   > hg debugnodemap --metadata && \
-  > wait-on-file 20 sync-txn-close sync-repo-read
+  > wait-on-file 60 sync-txn-close sync-repo-read
   uid: ???????????????? (glob)
   tip-rev: 5004
   tip-node: ba87cd9559559e4b91b28cb140d003985315e031