Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updated tests to reflect recent changes in nginx-1.2.7-upstream_trunc…

…ation.patch.
  • Loading branch information...
commit c18503835d7db78a26383b5f44f625957fd659c7 1 parent 78a7622
@agentzh agentzh authored
Showing with 8 additions and 5 deletions.
  1. +8 −5 t/pipeline.t
View
13 t/pipeline.t
@@ -3,9 +3,9 @@
use lib 'lib';
use Test::Nginx::Socket;
-#repeat_each(2);
+repeat_each(2);
-plan tests => repeat_each() * 2 * blocks();
+plan tests => repeat_each() * (2 * blocks() + 1);
$ENV{TEST_NGINX_REDIS_PORT} ||= 6379;
@@ -94,9 +94,12 @@ __DATA__
}
--- request
GET /pipelined2?n=3&cmds=flushall%0D%0Aget%20key%0D%0A
---- response_body eval
-"+OK\r\n\$-1\r\n"
---- timeout: 3
+--- ignore_response
+--- no_error_log
+[alert]
+[crit]
+--- error_log eval
+qr/upstream timed out .*? while reading upstream/
Please sign in to comment.
Something went wrong with that request. Please try again.