neovim/test/functional
Gregory Anders 3c081d0280 fix(jobwait): always drain process event queues #15402
Problem:
jobwait() returns early if the job was stopped, but the job might have
pending callbacks on its event queue which are required to complete its
teardown. State such as term->closed might not be updated yet (by the
pending callbacks), so codepaths such as :bdelete think the job is still
running.

Solution:
Always flush the job's event queue before returning from jobwait().

ref #15349
2021-08-31 06:53:06 -07:00
..
api fix(window.c): win_close from other tabpage #15454 2021-08-22 15:27:20 -07:00
autocmd feat(terminal): TermClose: set exit code in v:event.status #15406 2021-08-20 10:45:28 -07:00
autoread tests/functional: delete temp file created during test run (#14363) 2021-04-14 20:42:34 -04:00
cmdline doc: fix typos 2019-11-27 22:47:25 -08:00
core fix(eval): cherry-pick emsg changes from v8.1.0736 2021-08-12 17:16:33 +01:00
eval Merge #15293 Vimscript "method" syntax 2021-08-26 04:26:32 -07:00
ex_cmds test: update tests to work with 'hidden' 2021-08-18 12:17:12 -06:00
fixtures feat(terminal): TermClose: set exit code in v:event.status #15406 2021-08-20 10:45:28 -07:00
insert edit.c: Ensure undo sync when emulating <Esc>x #11706 2020-01-12 17:09:39 -08:00
legacy Merge #15293 Vimscript "method" syntax 2021-08-26 04:26:32 -07:00
lua fix(lua): preserve argument lists which are not lists 2021-08-29 16:04:50 +02:00
normal feat(keywordprg): use :terminal for external commands #15398 2021-08-21 17:23:10 -07:00
options feat: defaults: auto-create backup dir 2021-08-27 10:34:44 -06:00
plugin feat(lsp): get_border_size(): support repeating border char list #15474 2021-08-27 04:19:17 -07:00
provider fix(eval): cherry-pick emsg changes from v8.1.0736 2021-08-12 17:16:33 +01:00
shada shada: fix failed assertion on exit (#12692) 2020-07-31 16:08:34 +02:00
terminal fix(jobwait): always drain process event queues #15402 2021-08-31 06:53:06 -07:00
treesitter feat(treesitter): add next, prev sibling method 2021-08-20 11:58:15 -04:00
ui vim-patch:8.1.2229: color number column above/below cursor #15409 2021-08-27 05:50:37 -07:00
viml Make sure window is still valid in the middle of calling :lopen (#14240) 2021-03-29 08:19:59 -04:00
visual Treat unmapped ALT/META as ESC+c in all modes 2020-10-05 15:27:04 -04:00
example_spec.lua screen.lua: remove screen:_on_event #11488 2019-12-01 01:06:10 -08:00
helpers.lua docs: make Lua docstrings consistent #15255 2021-08-22 13:55:28 -07:00
preload.lua test/functional/preload.lua: _set_fmode for Windows 2019-09-25 05:47:15 +02:00