diff options
author | K.Takata <kentkt@csc.jp> | 2022-09-08 12:28:02 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-08 12:28:02 +0100 |
commit | 0500e87eba7b2a82392dbb5d573de19f8ff138e7 (patch) | |
tree | 20c34efc6ce12212dbf96e4b6022a2b5d230fa05 /src/testdir/test_bufline.vim | |
parent | 753aead960f163d0d3f8ce523ea523f2e0cec06d (diff) |
patch 9.0.0415: on MS-Windows some tests are flakyv9.0.0415
Problem: On MS-Windows some tests are flaky.
Solution: Add sleeps, disable swapfile, mark test as flaky. (Ken Takata,
closes #11082)
Diffstat (limited to 'src/testdir/test_bufline.vim')
-rw-r--r-- | src/testdir/test_bufline.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testdir/test_bufline.vim b/src/testdir/test_bufline.vim index f3502a3d41..c592877e81 100644 --- a/src/testdir/test_bufline.vim +++ b/src/testdir/test_bufline.vim @@ -83,6 +83,7 @@ func Test_setline_startup() endif call writefile(['call setline(1, "Hello")', 'silent w Xtest', 'q!'], 'Xscript', 'D') call system(cmd) + sleep 50m call assert_equal(['Hello'], readfile('Xtest')) call delete('Xtest') |