diff sub_filter.t @ 952:e9064d691790

Tests: converted tests to run in parallel.
author Andrey Zelenkov <zelenkov@nginx.com>
date Tue, 21 Jun 2016 16:39:13 +0300
parents 1b672b5db78a
children 882267679006
line wrap: on
line diff
--- a/sub_filter.t
+++ b/sub_filter.t
@@ -35,7 +35,7 @@ http {
     %%TEST_GLOBALS_HTTP%%
 
     server {
-        listen       127.0.0.1:8080;
+        listen       127.0.0.1:%%PORT_0%%;
         server_name  localhost;
 
         sub_filter_types *;
@@ -91,12 +91,12 @@ http {
 
         location /lm {
             sub_filter_last_modified on;
-            proxy_pass http://127.0.0.1:8081/;
+            proxy_pass http://127.0.0.1:%%PORT_1%%/;
         }
     }
 
     server {
-        listen       127.0.0.1:8081;
+        listen       127.0.0.1:%%PORT_1%%;
         server_name  localhost;
     }
 }