We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a6ef1b commit 5a08e0cCopy full SHA for 5a08e0c
1 file changed
php/BuildPhp/public/Invoke-PhpTests.ps1
@@ -88,6 +88,11 @@ function Invoke-PhpTests {
88
Set-SnmpTestEnvironment -TestsDirectoryPath "$buildDirectory\$testsDirectory"
89
}
90
91
+ $testTimeout = "120"
92
+ if($TestType -eq "ext") {
93
+ $testTimeout = "300"
94
+ }
95
+
96
$testResultFile = "$buildDirectory\test-$Arch-$Ts-$Opcache-$TestType.xml"
97
$testLogFile = "$buildDirectory\test-$Arch-$Ts-$Opcache-$TestType.log"
98
@@ -101,7 +106,7 @@ function Invoke-PhpTests {
101
106
"--offline",
102
107
"--show-diff",
103
108
"--show-slow", "1000",
104
- "--set-timeout", "120",
109
+ "--set-timeout", $testTimeout,
105
110
"--temp-source", "$buildDirectory\tmp",
111
"--temp-target", "$buildDirectory\tmp",
112
"-r", "$TestType-tests-to-run.txt"
0 commit comments