changeset 5675:a26d4726454f

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 1c1d8966ec55
children aa905c52ede5
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 10:06:22 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'