tests: make test-shelve.t timing-independent
authorMartin von Zweigbergk <martinvonz@google.com>
Wed, 08 Mar 2017 14:29:25 -0800
changeset 31228 51934fc796c0
parent 31227 ac47df82bdba
child 31229 68c94f286e25
tests: make test-shelve.t timing-independent It was sometimes taking 2s for me (not the "1s" the test expected).
tests/test-shelve.t
--- a/tests/test-shelve.t	Wed Mar 08 22:12:49 2017 +0900
+++ b/tests/test-shelve.t	Wed Mar 08 14:29:25 2017 -0800
@@ -1692,7 +1692,7 @@
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   $ echo 3 >> file && hg ci -Am 13
   $ hg shelve --list
-  default         (1s ago)    changes to: 1
+  default         (*s ago)    changes to: 1 (glob)
   $ hg unshelve --keep
   unshelving change 'default'
   rebasing shelved changes