File: 0002-Increase-test-timeout.patch

package info (click to toggle)
python-lsp-server 1.14.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 836 kB
  • sloc: python: 8,297; sh: 12; makefile: 4
file content (22 lines) | stat: -rw-r--r-- 640 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Jochen Sprickerhof <jspricke@debian.org>
Date: Mon, 25 Nov 2024 11:42:44 +0100
Subject: Increase test timeout

Was failing on arm64 and i386
---
 test/test_utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test_utils.py b/test/test_utils.py
index 7ed6214..6f31842 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -16,7 +16,7 @@ from pylsp import _utils
 from pylsp.lsp import NotebookCellKind
 from pylsp.python_lsp import PythonLSPServer, start_io_lang_server
 
-CALL_TIMEOUT_IN_SECONDS = 30
+CALL_TIMEOUT_IN_SECONDS = 120
 
 
 def send_notebook_did_open(client, cells: list[str]) -> None: