Skip to content

Commit 3e27a05

Browse files
committed
fix: unstable CI due to insufficient sleep
The LSP needs time to init, but we didn't give it enough time. It didn't sleep well, and returned partial results.
1 parent ebc7a92 commit 3e27a05

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lang/lsp/testutils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ func InitLSPForFirstTest(lang uniast.Language, server string) (*LSPClient, strin
4040
return nil, "", err
4141
}
4242
clients[lang] = client
43-
time.Sleep(3 * time.Second) // wait for LSP server to be ready
43+
time.Sleep(5 * time.Second) // wait for LSP server to be ready
4444
return client, testdata, nil
4545
}

0 commit comments

Comments
 (0)