vim-denops / denops.vim

🐜 An ecosystem of Vim/Neovim which allows developers to write cross-platform plugins in Deno
https://vim-denops.github.io/denops-documentation/
MIT License
666 stars 33 forks source link

Test `tests/denops/server_test.ts` is flaky #354

Closed Milly closed 3 months ago

Milly commented 3 months ago

Test 'plugin/denops.vim' changes status to 'starting' when sourced is flaky.

https://github.com/vim-denops/denops.vim/blob/71e25958ddb8c84a15d1fe12ea1b7f8cd351035b/tests/denops/server_test.ts#L77-L83

The reason is that by the time we retrieve the state, it may have already passed through the starting state and moved to the preparing state.

https://github.com/vim-denops/denops.vim/actions/runs/9240146041/job/25420102861?pr=344#step:9:293