Skip to content

Commit 62eb239

Browse files
committed
patch 8.2.5099: some terminal tests are not retried
Problem: Some terminal tests are not retried. Solution: Mark terminal tests as flaky.
1 parent fc9f0fd commit 62eb239

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

src/testdir/test_terminal.vim

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,7 @@ func Test_terminal_write_stdin()
757757
" TODO: enable once writing to stdin works on MS-Windows
758758
CheckNotMSWindows
759759
CheckExecutable wc
760+
let g:test_is_flaky = 1
760761

761762
call setline(1, ['one', 'two', 'three'])
762763
%term wc
@@ -775,6 +776,7 @@ endfunc
775776

776777
func Test_terminal_eof_arg()
777778
call CheckPython(s:python)
779+
let g:test_is_flaky = 1
778780

779781
call setline(1, ['print("hello")'])
780782
exe '1term ++eof=exit(123) ' .. s:python
@@ -793,6 +795,7 @@ endfunc
793795
func Test_terminal_eof_arg_win32_ctrl_z()
794796
CheckMSWindows
795797
call CheckPython(s:python)
798+
let g:test_is_flaky = 1
796799

797800
call setline(1, ['print("hello")'])
798801
exe '1term ++eof=<C-Z> ' .. s:python
@@ -803,8 +806,9 @@ endfunc
803806

804807
func Test_terminal_duplicate_eof_arg()
805808
call CheckPython(s:python)
809+
let g:test_is_flaky = 1
806810

807-
" Check the last specified ++eof arg is used and should not memory leak.
811+
" Check the last specified ++eof arg is used and does not leak memory.
808812
new
809813
call setline(1, ['print("hello")'])
810814
exe '1term ++eof=<C-Z> ++eof=exit(123) ' .. s:python

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,8 @@ static char *(features[]) =
734734

735735
static int included_patches[] =
736736
{ /* Add new patch number below this line */
737+
/**/
738+
5099,
737739
/**/
738740
5098,
739741
/**/

0 commit comments

Comments
 (0)