changeset 31228:51934fc796c0

tests: make test-shelve.t timing-independent It was sometimes taking 2s for me (not the "1s" the test expected).
author Martin von Zweigbergk <martinvonz@google.com>
date Wed, 08 Mar 2017 14:29:25 -0800
parents ac47df82bdba
children 68c94f286e25
files tests/test-shelve.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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