From b73c03efe171d1d37b58d879ff9fc2794a2e6039 Mon Sep 17 00:00:00 2001 From: fox0430 Date: Fri, 25 Oct 2024 08:20:48 +0900 Subject: [PATCH] debug ci --- src/moepkg/settings.nim | 3 ++- tests/tlsphandler.nim | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/moepkg/settings.nim b/src/moepkg/settings.nim index c9c191557..8a3fc0ad4 100644 --- a/src/moepkg/settings.nim +++ b/src/moepkg/settings.nim @@ -678,7 +678,8 @@ proc initLspServerSettings(): LspServerSettings = result.rustAnalyzer = initLspRustAnalyzerSettings() proc initLspSettings(): LspSettings = - result.enable = true + when not defined unitTest: + result.enable = true result.features = initLspFeatureSettings() diff --git a/tests/tlsphandler.nim b/tests/tlsphandler.nim index 348a25f9c..ebdd57f4c 100644 --- a/tests/tlsphandler.nim +++ b/tests/tlsphandler.nim @@ -1883,7 +1883,7 @@ suite "lsp: handleLspResponse": assert status.lspInitialize(workspaceRoot, LangId).isOk var isTimeout = true - for i in 0 .. 60: + for i in 0 .. 120: const Timeout = 1000 let readable = lspClient.readable(Timeout).get if not readable: