tests: include `timer_start` in duration #10772

This should not make much of a difference, but increases the timeout
when `load_factor` is used slightly.
This commit is contained in:
Daniel Hahler 2019-08-14 08:59:06 +02:00 committed by Justin M. Keyes
parent a690bf8116
commit 7668f04392
1 changed files with 1 additions and 1 deletions

View File

@ -6,8 +6,8 @@ function! s:load_factor() abort
for _ in range(5)
let g:val = 0
call timer_start(timeout, {-> nvim_set_var('val', 1)})
let start = reltime()
call timer_start(timeout, {-> nvim_set_var('val', 1)})
while 1
sleep 10m
if g:val == 1