File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -177,7 +177,6 @@ func TestNamedModuleWorkers(t *testing.T) {
177177 var wg sync.WaitGroup
178178 testPortNum , _ := strconv .Atoi (testPort )
179179 testPortTwo := strconv .Itoa (testPortNum + 1 )
180- testPortThree := strconv .Itoa (testPortNum + 2 )
181180 tester := caddytest .NewTester (t )
182181 tester .InitServer (`
183182 {
@@ -220,14 +219,6 @@ func TestNamedModuleWorkers(t *testing.T) {
220219 }
221220 }
222221 }
223-
224- http://localhost:` + testPortThree + ` {
225- route {
226- php {
227- root ../testdata
228- }
229- }
230- }
231222 ` , "caddyfile" )
232223
233224 for i := 0 ; i < 10 ; i ++ {
@@ -236,7 +227,6 @@ func TestNamedModuleWorkers(t *testing.T) {
236227 go func (i int ) {
237228 tester .AssertGetResponse ("http://localhost:" + testPort + "/worker-with-env.php" , http .StatusOK , "Worker has APP_ENV=one" )
238229 tester .AssertGetResponse ("http://localhost:" + testPortTwo + "/worker-with-env.php" , http .StatusOK , "Worker has APP_ENV=two" )
239- tester .AssertGetResponse ("http://localhost:" + testPortThree + "/worker-with-env.php" , http .StatusOK , "Worker has APP_ENV=global" )
240230 wg .Done ()
241231 }(i )
242232 }
You can’t perform that action at this time.
0 commit comments