2022-08-12 12:06:08 +00:00
|
|
|
diff --git a/tests/test_server.py b/tests/test_server.py
|
2024-05-15 15:35:15 +00:00
|
|
|
index e6cfe6e..3a3ee6a 100644
|
2022-08-12 12:06:08 +00:00
|
|
|
--- a/tests/test_server.py
|
|
|
|
+++ b/tests/test_server.py
|
2024-05-15 15:35:15 +00:00
|
|
|
@@ -31,7 +31,7 @@ from pygls.server import LanguageServer
|
2023-03-15 16:39:30 +00:00
|
|
|
|
|
|
|
from cmake_language_server.server import CMakeLanguageServer
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
-CALL_TIMEOUT = 2
|
|
|
|
+CALL_TIMEOUT = None
|
|
|
|
|
|
|
|
|
|
|
|
def _init(client: LanguageServer, root: Path) -> None:
|
2024-05-15 15:35:15 +00:00
|
|
|
@@ -115,7 +115,7 @@ def test_workspace_did_change_configuration(
|
|
|
|
)
|
|
|
|
|
|
|
|
start = time.monotonic()
|
|
|
|
- while server._api is old_api and (time.monotonic() - start) < CALL_TIMEOUT:
|
|
|
|
+ while server._api is old_api:
|
|
|
|
time.sleep(0.1)
|
|
|
|
|
|
|
|
assert server._api is not None
|