diff options
| author | Evgeni Chasnovski <evgeni.chasnovski@gmail.com> | 2026-01-12 22:26:59 +0200 |
|---|---|---|
| committer | Evgeni Chasnovski <evgeni.chasnovski@gmail.com> | 2026-01-12 22:30:56 +0200 |
| commit | 09edb145f5f3d10aadc9ba45358cdb1a0f166534 (patch) | |
| tree | 5498751ef484c519a918f0eaa7d19b4a7ae8bdaf /test/functional/vimscript/executable_spec.lua | |
| parent | 8f0b8a2c279f42d5af83b7517e4a19cacd21bfbe (diff) | |
| download | rneovim-09edb145f5f3d10aadc9ba45358cdb1a0f166534.tar.gz rneovim-09edb145f5f3d10aadc9ba45358cdb1a0f166534.tar.bz2 rneovim-09edb145f5f3d10aadc9ba45358cdb1a0f166534.zip | |
test(pack): adjust `add` startup tests to just sleep with longer timeout
Problem: The `add` startup tests mock startup process which requires
*some* amount of time to be done. Previous solution with `vim.wait`
to wait just enough time to register that startup script has finished
doesn't seem to work as intended (it just wait full time). Its timeout
is also seems to be barely enough to pass on Windows CI. Which will be
a problem with more `git` actions done on startup in the future/next
commit.
Solution: Just sleep predetermined amount of time and explicitly check
if startup script finished executing.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions