[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/eglot f45379ec32 2/3: * eglot-tests.el (eglot-ensure):
From: |
ELPA Syncer |
Subject: |
[elpa] externals/eglot f45379ec32 2/3: * eglot-tests.el (eglot-ensure): Work around test failure. |
Date: |
Wed, 12 Jan 2022 13:57:33 -0500 (EST) |
branch: externals/eglot
commit f45379ec324dabf334d7144ad2ea8b5df6d5c931
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>
* eglot-tests.el (eglot-ensure): Work around test failure.
---
eglot-tests.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/eglot-tests.el b/eglot-tests.el
index 0d6808ab0d..e43cc612cf 100644
--- a/eglot-tests.el
+++ b/eglot-tests.el
@@ -768,6 +768,9 @@ pyls prefers autopep over yafp, despite its README stating
the contrary."
(with-current-buffer
(ert-simulate-command
'(find-file "project/foo.py"))
+ ;; FIXME: This test fails without this sleep on my machine.
+ ;; Figure out why and solve this more cleanly.
+ (sleep-for 0.1)
(should (setq server (eglot-current-server))))
(with-current-buffer
(ert-simulate-command