Mercurial > evolve
comparison tests/test-prev-next.t @ 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 | e5d91fd1f319 |
children | 61d2f1cf90f0 |
comparison
equal
deleted
inserted
replaced
5674:1c1d8966ec55 | 5675:a26d4726454f |
---|---|
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 |