Skip to content
Browse files

added error log checks in the test file 000_init.t.

  • Loading branch information...
1 parent 4cfa7f7 commit 4ab3c76e91607a05bce6fbaf0b989de275109455 @agentzh agentzh committed Apr 26, 2013
Showing with 19 additions and 1 deletion.
  1. +19 −1 t/000_init.t
View
20 t/000_init.t
@@ -5,7 +5,7 @@ use Test::Nginx::Socket;
repeat_each(1);
-plan tests => repeat_each() * blocks();
+plan tests => repeat_each() * 2 * blocks();
$ENV{TEST_NGINX_POSTGRESQL_HOST} ||= '127.0.0.1';
$ENV{TEST_NGINX_POSTGRESQL_PORT} ||= 5432;
@@ -36,6 +36,8 @@ __DATA__
GET /init
--- error_code: 200
--- timeout: 10
+--- no_error_log
+[error]
@@ -50,6 +52,8 @@ GET /init
GET /init
--- error_code: 200
--- timeout: 10
+--- no_error_log
+[error]
@@ -64,6 +68,8 @@ GET /init
GET /init
--- error_code: 200
--- timeout: 10
+--- no_error_log
+[error]
@@ -78,6 +84,8 @@ GET /init
GET /init
--- error_code: 200
--- timeout: 10
+--- no_error_log
+[error]
@@ -95,6 +103,8 @@ GET /init
GET /init
--- error_code: 200
--- timeout: 10
+--- no_error_log
+[error]
@@ -109,6 +119,8 @@ GET /init
GET /init
--- error_code: 200
--- timeout: 10
+--- no_error_log
+[error]
@@ -126,6 +138,8 @@ GET /init
GET /init
--- error_code: 200
--- timeout: 10
+--- no_error_log
+[error]
@@ -140,6 +154,8 @@ GET /init
GET /init
--- error_code: 200
--- timeout: 10
+--- no_error_log
+[error]
@@ -154,3 +170,5 @@ GET /init
GET /init
--- error_code: 200
--- timeout: 10
+--- no_error_log
+[error]

0 comments on commit 4ab3c76

Please sign in to comment.
Something went wrong with that request. Please try again.