# HG changeset patch # User Pierre-Yves David # Date 2021-11-23 17:11:42 # Node ID eea70e3539edd32bbc13d548ff5924f3e1f6bede # Parent 1a8a70b4b0ad488c8a5f11a0f5b74c6b2f33969f tests: remove potential mtime ambiguity in a dirstate test If the test was fast enough, some mtime where not stored. We now wait long enough to ensure the mtime is no longer ambiguous. Differential Revision: https://phab.mercurial-scm.org/D11798 diff --git a/tests/test-rebuildstate.t b/tests/test-rebuildstate.t --- a/tests/test-rebuildstate.t +++ b/tests/test-rebuildstate.t @@ -79,6 +79,7 @@ but in the dirstate $ touch foo bar qux $ hg add qux $ hg remove bar + $ sleep 1 # remove potential ambiguity in mtime $ hg status -A A qux R bar @@ -106,6 +107,7 @@ dirstate $ hg manifest bar foo + $ sleep 1 # remove potential ambiguity in mtime $ hg status -A A qux R bar