From dbd76c2c414e24ed3e961568567a3a60f97cf2fb Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Thu, 13 Mar 2025 08:42:02 +0800 Subject: test: reduce flakiness in blocking wait tests (#32868) --- test/functional/core/job_spec.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'test/functional/core') diff --git a/test/functional/core/job_spec.lua b/test/functional/core/job_spec.lua index 7a50993171..5697dbc56f 100644 --- a/test/functional/core/job_spec.lua +++ b/test/functional/core/job_spec.lua @@ -944,7 +944,13 @@ describe('jobs', function() echon "\nccc" endfunc ]]) - feed_command('call PrintAndWait()') + feed(':call PrintAndWait()') + screen:expect([[ + | + {1:~ }|*4 + :call PrintAndWait()^ | + ]]) + feed('') screen:expect { grid = [[ | -- cgit