Skip to content

Commit a0b527e

Browse files
committed
Disable test parallelization on AppVeyor with opcache
This is too unstable due to shared opcache state. Disabling it until this issue is resolved to reduce the number of spurious failures.
1 parent a18e5c6 commit a0b527e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.appveyor.yml

+2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,10 @@ environment:
3030
matrix:
3131
- THREAD_SAFE: 0
3232
OPCACHE: 0
33+
PARALLEL: -j2
3334
- THREAD_SAFE: 1
3435
OPCACHE: 1
36+
PARALLEL:
3537
INTRINSICS: AVX
3638

3739
services:

appveyor/test_task.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ mkdir c:\tests_tmp
9191
set TEST_PHP_JUNIT=c:\junit.out.xml
9292

9393
cd "%APPVEYOR_BUILD_FOLDER%"
94-
nmake test TESTS="%OPCACHE_OPTS% -q --offline --show-diff --show-slow 1000 --set-timeout 120 -g FAIL,XFAIL,BORK,WARN,LEAK,SKIP --temp-source c:\tests_tmp --temp-target c:\tests_tmp -j2"
94+
nmake test TESTS="%OPCACHE_OPTS% -q --offline --show-diff --show-slow 1000 --set-timeout 120 -g FAIL,XFAIL,BORK,WARN,LEAK,SKIP --temp-source c:\tests_tmp --temp-target c:\tests_tmp %PARALLEL%"
9595

9696
set EXIT_CODE=%errorlevel%
9797

0 commit comments

Comments
 (0)