]> granicus.if.org Git - vim/commitdiff
patch 7.4.993 v7.4.993
authorBram Moolenaar <Bram@vim.org>
Tue, 29 Dec 2015 15:34:06 +0000 (16:34 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 29 Dec 2015 15:34:06 +0000 (16:34 +0100)
Problem:    Test 87 is flaky on AppVeyor.
Solution:   Reduce the minimum background thread count.

src/testdir/test86.in
src/testdir/test87.in
src/version.c

index ae8ee3ebf4ecfdf65710672c350f159cfadfe8fd..4714451eeb0fd469a19ba65b8f923c1eae9f9beb 100644 (file)
@@ -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
index 7ad05de99889fa6e69612aed91629d46eccddbf7..41d406521ed13de6ca571e96f823c8905465c535 100644 (file)
@@ -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
index 9e77c6dd3ee7a4d281bcfb8f2739118883b12aaa..167f55bd60637fa5e531a68471b01d47ac7350d8 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    993,
 /**/
     992,
 /**/