Skip to content

Commit

Permalink
patch 9.0.0539: long message test can be flaky
Browse files Browse the repository at this point in the history
Problem:    Long message test can be flaky.
Solution:   Wait for more prompt instead of ruler.
  • Loading branch information
brammool committed Sep 22, 2022
1 parent 5c645a2 commit 21d393a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/testdir/test_messages.vim
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,8 @@ func Test_quit_long_message()
echom range(9999)->join("\x01")
END
call writefile(content, 'Xtest_quit_message')
let buf = RunVimInTerminal('-S Xtest_quit_message', #{rows: 6})
let buf = RunVimInTerminal('-S Xtest_quit_message', #{rows: 6, wait_for_ruler: 0})
call WaitForAssert({-> assert_match('^-- More --', term_getline(buf, 6))})
call term_sendkeys(buf, "q")
call VerifyScreenDump(buf, 'Test_quit_long_message', {})

Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
539,
/**/
538,
/**/
Expand Down

0 comments on commit 21d393a

Please sign in to comment.