From: Yegappan Lakshmanan Date: Sat, 25 Mar 2023 18:47:35 +0000 (-0700) Subject: Increase the wait delay for the diags in the tests X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=59448b6f0243b5a0f174afb95b6f5ad1a6485ecd;p=vim-lsp.git Increase the wait delay for the diags in the tests --- diff --git a/test/common.vim b/test/common.vim index fad24a7..45ebe95 100644 --- a/test/common.vim +++ b/test/common.vim @@ -101,10 +101,10 @@ func g:WaitFor(expr, ...) endfunc # Wait for diagnostic messages from the LSP server. -# Waits for a maximum of (10 * 1500) / 1000 seconds +# Waits for a maximum of (10 * 2000) / 1000 = 20 seconds def g:WaitForDiags(errCount: number) var retries = 0 - while retries < 1500 + while retries < 2000 var d = lsp#lsp#ErrorCount() if d.Error == errCount break