[Updated] D11779: tests: ensure a status will have non ambiguous mtime in some race test

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Wed Dec 1 15:21:01 UTC 2021


Closed by commit rHG4c61c7f75de6: tests: ensure a status will have non ambiguous mtime in some race test (authored by marmoute).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D11779?vs=31101&id=31241

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

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

AFFECTED FILES
  tests/test-dirstate-race.t

CHANGE DETAILS

diff --git a/tests/test-dirstate-race.t b/tests/test-dirstate-race.t
--- a/tests/test-dirstate-race.t
+++ b/tests/test-dirstate-race.t
@@ -89,6 +89,7 @@
   > rm b && rm -r dir1 && rm d && mkdir d && rm e && mkdir e
   > EOF
 
+  $ sleep 1 # ensure non-ambiguous mtime
   $ hg status --config extensions.dirstaterace=$TESTTMP/dirstaterace.py
   M d
   M e



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


More information about the Mercurial-patches mailing list