[Updated] D8453: wait-on-file: adjust the timer counter

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Thu Apr 23 18:13:48 UTC 2020


Herald added a subscriber: mercurial-patches.
Closed by commit rHG23dd43d94f50: wait-on-file: adjust the timer counter (authored by marmoute).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8453?vs=21149&id=21202

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8453/new/

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

AFFECTED FILES
  tests/testlib/wait-on-file

CHANGE DETAILS

diff --git a/tests/testlib/wait-on-file b/tests/testlib/wait-on-file
--- a/tests/testlib/wait-on-file
+++ b/tests/testlib/wait-on-file
@@ -13,7 +13,7 @@
 
 # if the test timeout have been extended, explicitly extend the provided timer
 if [ "$HGTEST_TIMEOUT_DEFAULT" -lt "$HGTEST_TIMEOUT" ]; then
-    timer=$(( ($timer * $HGTEST_TIMEOUT) / $HGTEST_TIMEOUT_DEFAULT ))
+    timer=$(( ( 100 * $timer * $HGTEST_TIMEOUT) / $HGTEST_TIMEOUT_DEFAULT ))
 fi
 
 wait_on="$2"



To: marmoute, #hg-reviewers, Alphare
Cc: mercurial-patches, mercurial-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercurial-scm.org/pipermail/mercurial-patches/attachments/20200423/a4e0de6b/attachment-0001.html>


More information about the Mercurial-patches mailing list