D202: tests: fix test-flagprocessor.t flakiness

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Tue Aug 1 15:57:11 EDT 2017


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

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 ..
 



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


More information about the Mercurial-devel mailing list