Mercurial > vim
comparison src/testdir/test_terminal.vim @ 27861:6c87f679ed29 v8.2.4456
patch 8.2.4456: terminal test may fail on some machines
Commit: https://github.com/vim/vim/commit/dd2dfb3cb00d47d2e8248c4e9d2cdf51e1574b79
Author: Zdenek Dohnal <zdohnal@redhat.com>
Date: Wed Feb 23 14:25:17 2022 +0000
patch 8.2.4456: terminal test may fail on some machines
Problem: Terminal test may fail on some machines.
Solution: Increase wait time. (Zdenek Dohnal, closes https://github.com/vim/vim/issues/9834)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 23 Feb 2022 15:30:05 +0100 |
parents | 95d6e3c9aa1e |
children | 0f1a0bef2c02 |
comparison
equal
deleted
inserted
replaced
27860:10df13052097 | 27861:6c87f679ed29 |
---|---|
713 endfunction | 713 endfunction |
714 | 714 |
715 func Test_terminal_noblock() | 715 func Test_terminal_noblock() |
716 let g:test_is_flaky = 1 | 716 let g:test_is_flaky = 1 |
717 let buf = term_start(&shell) | 717 let buf = term_start(&shell) |
718 let wait_time = 5000 | 718 " Starting a terminal can be slow, esp. on busy CI machines. |
719 let wait_time = 7500 | |
719 let letters = 'abcdefghijklmnopqrstuvwxyz' | 720 let letters = 'abcdefghijklmnopqrstuvwxyz' |
720 if has('bsd') || has('mac') || has('sun') | 721 if has('bsd') || has('mac') || has('sun') |
721 " The shell or something else has a problem dealing with more than 1000 | 722 " The shell or something else has a problem dealing with more than 1000 |
722 " characters at the same time. It's very slow too. | 723 " characters at the same time. It's very slow too. |
723 let len = 1000 | 724 let len = 1000 |