]> Sergey Matveev's repositories - vim-lsp.git/commitdiff
Increase the wait delay for the diags in the tests
authorYegappan Lakshmanan <yegappan@yahoo.com>
Sat, 25 Mar 2023 18:47:35 +0000 (11:47 -0700)
committerYegappan Lakshmanan <yegappan@yahoo.com>
Sat, 25 Mar 2023 18:47:35 +0000 (11:47 -0700)
test/common.vim

index fad24a7d1d1923f8f93e5029865eaa8cb44862a0..45ebe954afacc43d61eaac55d09217901d8c6a76 100644 (file)
@@ -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