From 3895def46c0ea612761b797d622dc0798e79473f Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Fri, 28 Apr 2023 14:12:37 +0800 Subject: [PATCH] vim-patch:8.1.1176: test for dragging a tab is flaky Problem: Test for dragging a tab is flaky. Solution: Add a brief sleep. https://github.com/vim/vim/commit/7f27976589f075d591d54f754be257b5f6e6fd92 Co-authored-by: Bram Moolenaar --- test/old/testdir/test_termcodes.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/old/testdir/test_termcodes.vim b/test/old/testdir/test_termcodes.vim index 85de65111e..b337c4ca95 100644 --- a/test/old/testdir/test_termcodes.vim +++ b/test/old/testdir/test_termcodes.vim @@ -297,6 +297,8 @@ func Test_xterm_mouse_drag_to_move_tab() \ 'Tab page 2', \ '# Xtab1'], a) + " brief sleep to avoid causing a double-click + sleep 20m %bwipe! endfor