[Updated] D11900: tests: add a short `sleep` in test-status.t

SimonSapin phabricator at mercurial-scm.org
Mon Dec 13 13:36:46 UTC 2021


Closed by commit rHG04d756b7c0b5: tests: add a short `sleep` in test-status.t (authored by SimonSapin).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D11900?vs=31433&id=31449

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

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

AFFECTED FILES
  tests/test-status.t

CHANGE DETAILS

diff --git a/tests/test-status.t b/tests/test-status.t
--- a/tests/test-status.t
+++ b/tests/test-status.t
@@ -941,6 +941,7 @@
 Now the directory is eligible for caching, so its mtime is save in the dirstate
 
   $ rm subdir/unknown
+  $ sleep 0.1 # ensure the kernel’s internal clock for mtimes has ticked
   $ hg status
   $ hg debugdirstate --all --no-dates | grep '^ '
       0         -1 set                 subdir



To: SimonSapin, #hg-reviewers, Alphare
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20211213/019f2d47/attachment-0002.html>


More information about the Mercurial-patches mailing list