Commit: CI: disable the test_terminal_resize() test for GH CI in GUI (#13603)

4 views
Skip to first unread message

Christian Brabandt

unread,
Dec 1, 2023, 12:00:12 PM12/1/23
to vim...@googlegroups.com
CI: disable the test_terminal_resize() test for GH CI in GUI (#13603)

Commit: https://github.com/vim/vim/commit/926c3f45a20c9c9667466f69d8c33ef8acb354ec
Author: Christian Brabandt <c...@256bit.org>
Date: Fri Dec 1 16:59:32 2023 +0000

CI: disable the test_terminal_resize() test for GH CI in GUI (https://github.com/vim/vim/issues/13603)

fixes: https://github.com/vim/vim/issues/13566

Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/testdir/test_terminal2.vim b/src/testdir/test_terminal2.vim
index 6ce531ed4..b349867e9 100644
--- a/src/testdir/test_terminal2.vim
+++ b/src/testdir/test_terminal2.vim
@@ -247,7 +247,11 @@ endfunc

" Resizing the terminal window caused an ml_get error.
" TODO: This does not reproduce the original problem.
+" TODO: This test starts timing out in Github CI Gui test, why????
func Test_terminal_resize()
+ if has('gui_running') && expand('$GITHUB_ACTIONS') ==# 'true'
+ throw 'Skipped: FIXME: this test times-out in Github Actions CI with GUI. Why?'
+ endif
set statusline=x
terminal
call assert_equal(2, winnr('$'))
Reply all
Reply to author
Forward
0 new messages