Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update test scripts

  • Loading branch information...
commit 3c80ca009e94aba4f25e27ebdb07729bddf31cbb 1 parent 2d6dbec
@yaoweibin authored
View
2  test/t/tcp_check.t
@@ -34,7 +34,7 @@ __DATA__
upstream test{
server blog.163.com;
#ip_hash;
- check interval=3000 rise=2 fall=5 timeout=1000;
+ check interval=3000 rise=1 fall=5 timeout=1000;
}
server {
View
4 test/t/upstream_busyness.t
@@ -45,12 +45,12 @@ __DATA__
GET /
--- response_body_like: ^<(.*)>$
-=== TEST 2: the upstream_busyness command
+=== TEST 2: the upstream_busyness command with check
--- config
upstream test{
server blog.163.com;
- check interval=3000;
+ check interval=3000 rise=1 fall=5 timeout=1000;
busyness;
}
View
14 test/t/websocket.t
@@ -40,7 +40,7 @@ __DATA__
upstream test{
server blog.163.com;
#ip_hash;
- check interval=3000 rise=2 fall=5 timeout=1000;
+ check interval=3000 rise=1 fall=5 timeout=1000;
}
server {
@@ -71,7 +71,7 @@ GET /
upstream test{
server blog.163.com;
#ip_hash;
- check interval=3000 rise=2 fall=5 timeout=1000;
+ check interval=3000 rise=1 fall=5 timeout=1000;
}
server {
@@ -105,7 +105,7 @@ GET /
upstream test{
server blog.163.com;
#ip_hash;
- check interval=3000 rise=2 fall=5 timeout=1000;
+ check interval=3000 rise=1 fall=5 timeout=1000;
}
server {
@@ -138,7 +138,7 @@ GET /
upstream test{
server blog.163.com;
#ip_hash;
- check interval=3000 rise=2 fall=5 timeout=1000;
+ check interval=3000 rise=1 fall=5 timeout=1000;
}
server {
@@ -172,7 +172,7 @@ GET /404
upstream test{
server blog.163.com;
#ip_hash;
- check interval=3000 rise=2 fall=5 timeout=1000;
+ check interval=3000 rise=1 fall=5 timeout=1000;
}
server {
@@ -206,7 +206,7 @@ GET /bad
upstream test{
server blog.163.com;
#ip_hash;
- check interval=3000 rise=2 fall=5 timeout=1000;
+ check interval=3000 rise=1 fall=5 timeout=1000;
}
server {
@@ -242,7 +242,7 @@ GET /public
upstream test{
server blog.163.com;
#ip_hash;
- check interval=3000 rise=2 fall=5 timeout=1000;
+ check interval=3000 rise=1 fall=5 timeout=1000;
}
server {
Please sign in to comment.
Something went wrong with that request. Please try again.