Permalink
Browse files

update test scripts

  • Loading branch information...
1 parent 2d6dbec commit 3c80ca009e94aba4f25e27ebdb07729bddf31cbb @yaoweibin committed Jan 30, 2012
Showing with 10 additions and 10 deletions.
  1. +1 −1 test/t/tcp_check.t
  2. +2 −2 test/t/upstream_busyness.t
  3. +7 −7 test/t/websocket.t
View
@@ -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 {
@@ -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
@@ -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 {

0 comments on commit 3c80ca0

Please sign in to comment.