To: vim_dev@googlegroups.com Subject: Patch 7.4.2186 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.2186 Problem: Timers test is flaky. Solution: Relax the sleep time check. Files: src/testdir/test_timers.vim *** ../vim-7.4.2185/src/testdir/test_timers.vim 2016-08-07 18:22:30.426091047 +0200 --- src/testdir/test_timers.vim 2016-08-08 22:44:45.593742704 +0200 *************** *** 27,33 **** let timer = timer_start(50, 'MyHandler', {'repeat': 3}) let slept = WaitFor('g:val == 3') call assert_equal(3, g:val) ! call assert_inrange(100, 250, slept) endfunc func Test_repeat_many() --- 27,33 ---- let timer = timer_start(50, 'MyHandler', {'repeat': 3}) let slept = WaitFor('g:val == 3') call assert_equal(3, g:val) ! call assert_inrange(80, 200, slept) endfunc func Test_repeat_many() *** ../vim-7.4.2185/src/version.c 2016-08-08 22:41:59.858993123 +0200 --- src/version.c 2016-08-08 22:45:33.649380292 +0200 *************** *** 765,766 **** --- 765,768 ---- { /* Add new patch number below this line */ + /**/ + 2186, /**/ -- For humans, honesty is a matter of degree. Engineers are always honest in matters of technology and human relationships. That's why it's a good idea to keep engineers away from customers, romantic interests, and other people who can't handle the truth. (Scott Adams - The Dilbert principle) /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///