Skip to content

Commit 52f6ae1

Browse files
committed
patch 7.4.993
Problem: Test 87 is flaky on AppVeyor. Solution: Reduce the minimum background thread count.
1 parent 0138062 commit 52f6ae1

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

src/testdir/test86.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,9 @@ EOF
370370
:sleep 1
371371
:py t.running = False
372372
:py t.join()
373-
:py l[0] = t.t > 7 # check if the background thread is working
373+
:" Check if the background thread is working. Count should be 10, but on a
374+
:" busy system (AppVeyor) it can be much lower.
375+
:py l[0] = t.t > 4
374376
:py del time
375377
:py del threading
376378
:py del t

src/testdir/test87.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,9 @@ EOF
367367
:sleep 1
368368
:py3 t.running = False
369369
:py3 t.join()
370-
:py3 l[0] = t.t > 7 # check if the background thread is working
370+
:" Check if the background thread is working. Count should be 10, but on a
371+
:" busy system (AppVeyor) it can be much lower.
372+
:py3 l[0] = t.t > 4
371373
:py3 del time
372374
:py3 del threading
373375
:py3 del t

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,8 @@ static char *(features[]) =
741741

742742
static int included_patches[] =
743743
{ /* Add new patch number below this line */
744+
/**/
745+
993,
744746
/**/
745747
992,
746748
/**/

0 commit comments

Comments
 (0)