From: Bram Moolenaar Date: Tue, 29 Dec 2015 15:34:06 +0000 (+0100) Subject: patch 7.4.993 X-Git-Tag: v7.4.993 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=52f6ae1366b34fc5771595c0bd17c779a7f6f544;p=vim patch 7.4.993 Problem: Test 87 is flaky on AppVeyor. Solution: Reduce the minimum background thread count. --- diff --git a/src/testdir/test86.in b/src/testdir/test86.in index ae8ee3ebf..4714451ee 100644 --- 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 diff --git a/src/testdir/test87.in b/src/testdir/test87.in index 7ad05de99..41d406521 100644 --- 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 diff --git a/src/version.c b/src/version.c index 9e77c6dd3..167f55bd6 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 993, /**/ 992, /**/