Mercurial > hg > nginx-tests
comparison upstream_hash.t @ 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 | 17c5a1cc8757 |
children | 907e89fba9c3 |
comparison
equal
deleted
inserted
replaced
456:858e93175802 | 457:4ceb2d12b7d2 |
---|---|
137 if ($server_port = 8083) { | 137 if ($server_port = 8083) { |
138 return 502; | 138 return 502; |
139 } | 139 } |
140 return 204; | 140 return 204; |
141 } | 141 } |
142 } | |
143 | |
144 server { | |
145 listen 127.0.0.1:8084; | |
146 server_name localhost; | |
147 return 444; | |
142 } | 148 } |
143 } | 149 } |
144 | 150 |
145 EOF | 151 EOF |
146 | 152 |