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 -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui