aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-10-13 21:57:21 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-10-14 08:54:01 -0400
commit3d2cd647443c38d9d284b57a573b8d3fb7cb48c1 (patch)
tree66bfa83f422c0a819643ddb9dc269d6b14b8414c /src
parentbddd67a331334b12a32d93f6b43f39e9ec120f2d (diff)
downloadrneovim-3d2cd647443c38d9d284b57a573b8d3fb7cb48c1.tar.gz
rneovim-3d2cd647443c38d9d284b57a573b8d3fb7cb48c1.tar.bz2
rneovim-3d2cd647443c38d9d284b57a573b8d3fb7cb48c1.zip
vim-patch:8.2.0710: Netbeans test sometimes fails
Problem: Netbeans test sometimes fails. Solution: Mark any test using an external command as flaky. https://github.com/vim/vim/commit/4a070cc82e00618db279526797564cb2b4e9b060
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/shared.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/testdir/shared.vim b/src/nvim/testdir/shared.vim
index 9bc037a59f..4f1ddcd7b9 100644
--- a/src/nvim/testdir/shared.vim
+++ b/src/nvim/testdir/shared.vim
@@ -56,6 +56,9 @@ endfunc
" Run "cmd". Returns the job if using a job.
func RunCommand(cmd)
+ " Running an external command can occasionally be slow or fail.
+ let g:test_is_flaky = 1
+
let job = 0
if has('job')
let job = job_start(a:cmd, {"stoponexit": "hup"})