Patchwork D202: tests: fix test-flagprocessor.t flakiness

login
register
mail settings
Submitter phabricator
Date Aug. 1, 2017, 7:57 p.m.
Message ID <1dce6fc7644270d24ee6bdb9c06f5b1b@localhost.localdomain>
Download mbox | patch
Permalink /patch/22606/
State Not Applicable
Headers show

Comments

phabricator - Aug. 1, 2017, 7:57 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGc6146dd10072: tests: fix test-flagprocessor.t flakiness (authored by martinvonz).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D202?vs=475&id=480

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

AFFECTED FILES
  tests/test-flagprocessor.t

CHANGE DETAILS




To: martinvonz, #hg-reviewers, dsp, akushner, durin42
Cc: durin42, dsp, mercurial-devel

Patch

diff --git a/tests/test-flagprocessor.t b/tests/test-flagprocessor.t
--- a/tests/test-flagprocessor.t
+++ b/tests/test-flagprocessor.t
@@ -161,9 +161,11 @@ 
   > extension=$TESTDIR/flagprocessorext.py
   > duplicate=$TESTDIR/flagprocessorext.py
   > EOF
-  $ echo 'this should fail' > file
-  $ hg commit -Aqm 'add file'
+  $ hg debugrebuilddirstate
   *** failed to set up extension duplicate: cannot register multiple processors on flag '0x8'.
+  $ hg st 2>&1 | egrep 'cannot register multiple processors|flagprocessorext'
+  *** failed to set up extension duplicate: cannot register multiple processors on flag '0x8'.
+    File "*/tests/flagprocessorext.py", line *, in b64decode (glob)
 
   $ cd ..