From 59448b6f0243b5a0f174afb95b6f5ad1a6485ecd Mon Sep 17 00:00:00 2001
From: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Sat, 25 Mar 2023 11:47:35 -0700
Subject: [PATCH] Increase the wait delay for the diags in the tests

---
 test/common.vim | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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
-- 
2.51.0