comparison 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
comparison
equal deleted inserted replaced
5709:d0f73113fcc0 5710:f65b2a978a1e
326 326
327 prev and next should lock properly against other commands 327 prev and next should lock properly against other commands
328 328
329 $ hg init repo 329 $ hg init repo
330 $ cd repo 330 $ cd repo
331 $ cat >> .hg/hgrc << EOF
332 > [ui]
333 > timeout.warn = 0
334 > EOF
331 $ HGEDITOR="sh ${TESTDIR}/fake-editor.sh" 335 $ HGEDITOR="sh ${TESTDIR}/fake-editor.sh"
332 $ echo hi > foo 336 $ echo hi > foo
333 $ hg ci -Am 'one' 337 $ hg ci -Am 'one'
334 adding foo 338 adding foo
335 $ echo bye > foo 339 $ echo bye > foo