emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/eglot 2fff45aff1: Increase test connection timeout to 5


From: ELPA Syncer
Subject: [elpa] externals/eglot 2fff45aff1: Increase test connection timeout to 5 secs
Date: Fri, 14 Jan 2022 08:57:27 -0500 (EST)

branch: externals/eglot
commit 2fff45aff18ad3ad6be5508b10f93a5042262d3a
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    Increase test connection timeout to 5 secs
    
    * eglot-tests.el (eglot--tests-connect): Increase default timeout
    to 5 seconds to avoid failing tests on slow machines.
---
 eglot-tests.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eglot-tests.el b/eglot-tests.el
index ba29d12544..d277464496 100644
--- a/eglot-tests.el
+++ b/eglot-tests.el
@@ -257,7 +257,7 @@ Pass TIMEOUT to `eglot--with-timeout'."
 (add-to-list 'auto-mode-alist '("\\.rs\\'" . rust-mode))
 
 (defun eglot--tests-connect (&optional timeout)
-  (let* ((timeout (or timeout 2))
+  (let* ((timeout (or timeout 5))
          (eglot-sync-connect t)
          (eglot-connect-timeout timeout))
     (apply #'eglot--connect (eglot--guess-contact))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]