Mercurial > vim
changeset 7376:88843d12c82b v7.4.993
commit https://github.com/vim/vim/commit/52f6ae1366b34fc5771595c0bd17c779a7f6f544
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Dec 29 16:34:06 2015 +0100
patch 7.4.993
Problem: Test 87 is flaky on AppVeyor.
Solution: Reduce the minimum background thread count.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 29 Dec 2015 16:45:04 +0100 |
parents | f1b113b0e989 |
children | f44e6074ca7d |
files | src/testdir/test86.in src/testdir/test87.in src/version.c |
diffstat | 3 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test86.in +++ b/src/testdir/test86.in @@ -370,7 +370,9 @@ EOF :sleep 1 :py t.running = False :py t.join() -:py l[0] = t.t > 7 # check if the background thread is working +:" Check if the background thread is working. Count should be 10, but on a +:" busy system (AppVeyor) it can be much lower. +:py l[0] = t.t > 4 :py del time :py del threading :py del t
--- a/src/testdir/test87.in +++ b/src/testdir/test87.in @@ -367,7 +367,9 @@ EOF :sleep 1 :py3 t.running = False :py3 t.join() -:py3 l[0] = t.t > 7 # check if the background thread is working +:" Check if the background thread is working. Count should be 10, but on a +:" busy system (AppVeyor) it can be much lower. +:py3 l[0] = t.t > 4 :py3 del time :py3 del threading :py3 del t