test/win: job_spec: increase jobwait() timeout

powershell is slow, and this timeout is "worst case" so it doesn't make
the tests more costly, only avoids a false-positive.

close #8958
This commit is contained in:
Justin M. Keyes 2018-09-05 10:04:12 +02:00
parent 55a721512b
commit 51d42917f0
1 changed files with 1 additions and 1 deletions

View File

@ -663,7 +663,7 @@ describe('jobs', function()
call rpcnotify(g:channel, 'wait', jobwait([
\ jobstart('exit 4'),
\ jobstart((has('win32') ? 'Start-Sleep 10' : 'sleep 10').'; exit 5'),
\ ], has('win32') ? 3000 : 100))
\ ], has('win32') ? 6000 : 100))
]])
eq({'notification', 'wait', {{4, -1}}}, next_msg())
end)