Skip to content

Commit aba10f3

Browse files
committed
Increased timeout for lsp installation
1 parent 88cdc41 commit aba10f3

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,13 @@ jobs:
2828
git clone --depth 1 https://github.com/hrsh7th/nvim-cmp.git ~/.local/share/nvim/site/pack/vendor/start/nvim-cmp.git
2929
git clone --depth 1 https://github.com/hrsh7th/cmp-nvim-lsp.git ~/.local/share/nvim/site/pack/vendor/start/cmp-nvim-lsp.git
3030
sudo apt update -y
31-
sudo apt install build-essential php php-xml composer openjdk-21-jdk -y
31+
sudo apt install build-essential php php-xml composer openjdk-21-jdk -y --reinstall
3232
- name: Run Unit Tests
3333
run: make test-unit
3434
- name: Run Functional Tests
3535
run: make test-functional
36+
- name: debug
37+
if: always()
38+
run: |
39+
sudo cat ~/.local/state/nvim/lsp.log
40+
java --version

tests/lsp_init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ for _, lsp in ipairs(lsp_list) do
6363

6464
-- Wait for installation to complete with timeout
6565
local start_time = vim.loop.now()
66-
local timeout = 60000 -- in milliseconds
66+
local timeout = 120000 -- in milliseconds
6767

6868
while not installation_complete do
6969
vim.wait(1000) -- Check every second

0 commit comments

Comments
 (0)