test: better glob some timing related line to avoid flakiness stable
authorPierre-Yves David <pierre-yves.david@octobus.net>
Thu, 13 Jun 2024 09:52:39 +0200
branchstable
changeset 51643 96cb63a86ee5
parent 51641 a898c24a4cd0
child 51648 6454c117c6a4
test: better glob some timing related line to avoid flakiness If we go over 10 seconds, the number of white space changes.
tests/test-shelve.t
--- a/tests/test-shelve.t	Wed Jun 12 11:27:01 2024 +0200
+++ b/tests/test-shelve.t	Thu Jun 13 09:52:39 2024 +0200
@@ -325,7 +325,7 @@
   R b/b
   R d
   $ hg shelve -l --stat
-  wibble          (*)    wat (glob)
+  wibble +\([^)]+\) +wat (re)
    a/a |  1 +
    1 files changed, 1 insertions(+), 0 deletions(-)