diff tests/test-prev-next.t @ 5710:f65b2a978a1e stable

tests: make sure test-prev-next.t hits lock warning timeout every time The test case explicitly uses fake-editor.sh with sleep 5 to test that hg prev and hg next both lock working directory properly. But recent upstream tweak in run-tests.py sets this timeout to 15, which is too high for this test. Let's set it back to its default value of 0.
author Anton Shestakov <av6@dwimlabs.net>
date Tue, 08 Dec 2020 11:58:34 +0800
parents e2c548cc83b5
children b3d9e6c805d6
line wrap: on
line diff
--- a/tests/test-prev-next.t	Wed Dec 02 09:40:33 2020 +0800
+++ b/tests/test-prev-next.t	Tue Dec 08 11:58:34 2020 +0800
@@ -328,6 +328,10 @@
 
   $ hg init repo
   $ cd repo
+  $ cat >> .hg/hgrc << EOF
+  > [ui]
+  > timeout.warn = 0
+  > EOF
   $ HGEDITOR="sh ${TESTDIR}/fake-editor.sh"
   $ echo hi > foo
   $ hg ci -Am 'one'