diff --git a/tests/test_server.py b/tests/test_server.py index e6cfe6e..3a3ee6a 100644 --- a/tests/test_server.py +++ b/tests/test_server.py @@ -31,7 +31,7 @@ from pygls.server import LanguageServer from cmake_language_server.server import CMakeLanguageServer -CALL_TIMEOUT = 2 +CALL_TIMEOUT = None def _init(client: LanguageServer, root: Path) -> None: @@ -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