changeset 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 d0f73113fcc0
children 570023086a36
files tests/test-prev-next.t
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
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'