Mercurial > vim
comparison src/testdir/test_terminal.vim @ 14027:6d9783027174 v8.1.0031
patch 8.1.0031: terminal test aucmd_on_close if flaky
commit https://github.com/vim/vim/commit/c8523e2e6cd072d86a9412f465aa9eef53f5675e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 3 18:22:02 2018 +0200
patch 8.1.0031: terminal test aucmd_on_close if flaky
Problem: Terminal test aucmd_on_close if flaky.
Solution: Wait a bit longer.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 03 Jun 2018 18:30:05 +0200 |
parents | 7f5ddc6e715b |
children | f39150ec146e |
comparison
equal
deleted
inserted
replaced
14026:60991b6bbd01 | 14027:6d9783027174 |
---|---|
382 endfunc | 382 endfunc |
383 | 383 |
384 func s:get_sleep_cmd() | 384 func s:get_sleep_cmd() |
385 if s:python != '' | 385 if s:python != '' |
386 let cmd = s:python . " test_short_sleep.py" | 386 let cmd = s:python . " test_short_sleep.py" |
387 let waittime = 500 | 387 " 500 was not enough for Travis |
388 let waittime = 900 | |
388 else | 389 else |
389 echo 'This will take five seconds...' | 390 echo 'This will take five seconds...' |
390 let waittime = 2000 | 391 let waittime = 2000 |
391 if has('win32') | 392 if has('win32') |
392 let cmd = $windir . '\system32\timeout.exe 1' | 393 let cmd = $windir . '\system32\timeout.exe 1' |