changeset 457:4ceb2d12b7d2

Tests: speedup upstream_hash.t on win32. Closed ports doesn't return immediate RST at least on some versions of Windows, resulting in tests being painfully slow.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 01 Sep 2014 14:46:21 +0400
parents 858e93175802
children ae69f9bdba92
files upstream_hash.t
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/upstream_hash.t
+++ b/upstream_hash.t
@@ -140,6 +140,12 @@ http {
             return 204;
         }
     }
+
+    server {
+        listen       127.0.0.1:8084;
+        server_name  localhost;
+        return 444;
+    }
 }
 
 EOF