Skip to content

Commit b05bd5f

Browse files
AlliBalliBabadunglas
authored andcommitted
Removes max_execution_time from tests (it gets overwritten on mac)
1 parent 1775ca5 commit b05bd5f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

caddy/caddy_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ func TestPHPIniConfiguration(t *testing.T) {
660660
frankenphp {
661661
num_threads 2
662662
worker ../testdata/ini.php 1
663-
php_ini max_execution_time 100
663+
php_ini upload_max_filesize 100M
664664
php_ini memory_limit 10000000
665665
}
666666
}
@@ -673,7 +673,7 @@ func TestPHPIniConfiguration(t *testing.T) {
673673
}
674674
`, "caddyfile")
675675

676-
testSingleIniConfiguration(tester, "max_execution_time", "100")
676+
testSingleIniConfiguration(tester, "upload_max_filesize", "100M")
677677
testSingleIniConfiguration(tester, "memory_limit", "10000000")
678678
}
679679

@@ -688,7 +688,7 @@ func TestPHPIniBlockConfiguration(t *testing.T) {
688688
frankenphp {
689689
num_threads 1
690690
php_ini {
691-
max_execution_time 15
691+
upload_max_filesize 100M
692692
memory_limit 20000000
693693
}
694694
}
@@ -702,7 +702,7 @@ func TestPHPIniBlockConfiguration(t *testing.T) {
702702
}
703703
`, "caddyfile")
704704

705-
testSingleIniConfiguration(tester, "max_execution_time", "15")
705+
testSingleIniConfiguration(tester, "upload_max_filesize", "100M")
706706
testSingleIniConfiguration(tester, "memory_limit", "20000000")
707707
}
708708

0 commit comments

Comments
 (0)