tests: blacklist a handful of test with `rhg` or `chg`
authorPierre-Yves David <pierre-yves.david@octobus.net>
Fri, 09 Jul 2021 20:42:26 +0200
changeset 47587 be496e3489b9
parent 47586 a8e33ab50c4f
child 47588 eb611ecb435c
tests: blacklist a handful of test with `rhg` or `chg` The use of `alias` to enforce `chg` and `rhg` means we are actually using a mix of `rhg`/`chg` and `hg` when calling `hg` in the test. Fixing this breaks various tests. This would be a large detour to fix that. I am disabling them for now with an appropriate comment. We would hopefully get back to them by the 5.8 release. Differential Revision: https://phab.mercurial-scm.org/D11052
tests/test-commandserver.t
tests/test-infinitepush-bundlestore.t
tests/test-infinitepush.t
tests/test-nointerrupt.t
tests/test-ssh-repoerror.t
--- a/tests/test-commandserver.t	Sat Jul 10 01:58:34 2021 +0200
+++ b/tests/test-commandserver.t	Fri Jul 09 20:42:26 2021 +0200
@@ -1,3 +1,13 @@
+#require no-rhg no-chg
+
+XXX-RHG this test hangs if `hg` is really `rhg`. This was hidden by the use of
+`alias hg=rhg` by run-tests.py. With such alias removed, this test is revealed
+buggy. This need to be resolved sooner than later.
+
+XXX-CHG this test hangs if `hg` is really `chg`. This was hidden by the use of
+`alias hg=chg` by run-tests.py. With such alias removed, this test is revealed
+buggy. This need to be resolved sooner than later.
+
 #if windows
   $ PYTHONPATH="$TESTDIR/../contrib;$PYTHONPATH"
 #else
--- a/tests/test-infinitepush-bundlestore.t	Sat Jul 10 01:58:34 2021 +0200
+++ b/tests/test-infinitepush-bundlestore.t	Fri Jul 09 20:42:26 2021 +0200
@@ -1,4 +1,11 @@
-#require no-reposimplestore
+#require no-reposimplestore no-chg
+
+XXX-CHG this test hangs if `hg` is really `chg`. This was hidden by the use of
+`alias hg=chg` by run-tests.py. With such alias removed, this test is revealed
+buggy. This need to be resolved sooner than later.
+
+
+Testing infinipush extension and the confi options provided by it
 
 Create an ondisk bundlestore in .hg/scratchbranches
   $ . "$TESTDIR/library-infinitepush.sh"
--- a/tests/test-infinitepush.t	Sat Jul 10 01:58:34 2021 +0200
+++ b/tests/test-infinitepush.t	Fri Jul 09 20:42:26 2021 +0200
@@ -1,4 +1,9 @@
-#require no-reposimplestore
+#require no-reposimplestore no-chg
+
+XXX-CHG this test hangs if `hg` is really `chg`. This was hidden by the use of
+`alias hg=chg` by run-tests.py. With such alias removed, this test is revealed
+buggy. This need to be resolved sooner than later.
+
 
 Testing infinipush extension and the confi options provided by it
 
--- a/tests/test-nointerrupt.t	Sat Jul 10 01:58:34 2021 +0200
+++ b/tests/test-nointerrupt.t	Fri Jul 09 20:42:26 2021 +0200
@@ -1,4 +1,8 @@
-#require no-windows
+#require no-windows no-rhg
+
+XXX-RHG this test hangs if `hg` is really `rhg`. This was hidden by the use of
+`alias hg=rhg` by run-tests.py. With such alias removed, this test is revealed
+buggy. This need to be resolved sooner than later.
 
 Dummy extension simulating unsafe long running command
   $ cat > sleepext.py <<EOF
--- a/tests/test-ssh-repoerror.t	Sat Jul 10 01:58:34 2021 +0200
+++ b/tests/test-ssh-repoerror.t	Fri Jul 09 20:42:26 2021 +0200
@@ -1,4 +1,8 @@
-#require unix-permissions no-root
+#require unix-permissions no-root no-windows no-rhg
+
+XXX-RHG this test hangs if `hg` is really `rhg`. This was hidden by the use of
+`alias hg=rhg` by run-tests.py. With such alias removed, this test is revealed
+buggy. This need to be resolved sooner than later.
 
 initial setup