aboutsummaryrefslogtreecommitdiff
path: root/test/functional/terminal/ex_terminal_spec.lua
diff options
context:
space:
mode:
authorDaniel Hahler <github@thequod.de>2019-07-02 19:31:36 +0200
committerGitHub <noreply@github.com>2019-07-02 19:31:36 +0200
commit1c45ba462b7ca0135336d2d1eed52c362779dd42 (patch)
tree70fba105edc0c785f49a68e8015c4d57e0c5663d /test/functional/terminal/ex_terminal_spec.lua
parent66f7e8e8e68156a5eb00565edf6c5ad2ffaa6c02 (diff)
downloadrneovim-1c45ba462b7ca0135336d2d1eed52c362779dd42.tar.gz
rneovim-1c45ba462b7ca0135336d2d1eed52c362779dd42.tar.bz2
rneovim-1c45ba462b7ca0135336d2d1eed52c362779dd42.zip
tests: fix flaky "terminal (with fake shell) with not arguments …" (#10401)
`retry()` would only try it three times (waiting for 20ms in between), despite the large timeout. Fixes https://github.com/neovim/neovim/issues/10265.
Diffstat (limited to 'test/functional/terminal/ex_terminal_spec.lua')
-rw-r--r--test/functional/terminal/ex_terminal_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/terminal/ex_terminal_spec.lua b/test/functional/terminal/ex_terminal_spec.lua
index f3849709e3..2c731066bd 100644
--- a/test/functional/terminal/ex_terminal_spec.lua
+++ b/test/functional/terminal/ex_terminal_spec.lua
@@ -137,7 +137,7 @@ describe(':terminal (with fake shell)', function()
it('with no argument, acts like termopen()', function()
terminal_with_fake_shell()
- retry(3, 4 * screen.timeout, function()
+ retry(nil, 4 * screen.timeout, function()
screen:expect([[
^ready $ |
[Process exited 0] |