From 4500744d5c38b3539242c2e2a41456f2ced8d23d Mon Sep 17 00:00:00 2001 From: Datong Sun Date: Tue, 30 Oct 2018 22:52:27 -0700 Subject: [PATCH] test: fixed test failure due to NGINX core change introduced in 1.15.1 by https://github.com/nginx/nginx/commit/63e8a1d926251469b708c6248c3b1849bd018b40. --- t/001-resolver.t | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/t/001-resolver.t b/t/001-resolver.t index a612b69..7d26cb9 100644 --- a/t/001-resolver.t +++ b/t/001-resolver.t @@ -68,12 +68,14 @@ parsed a resolver: " nameser 8.8.8.8" --- request GET /t ---- response_body -failed to connect to openresty.org: no resolver defined to resolve "openresty.org" +--- must_die +--- error_log +no name servers defined --- no_error_log [error] [crit] parsed a resolver: " +--- skip_nginx: 5: < 1.15.1 @@ -99,12 +101,14 @@ parsed a resolver: " nameser 8.8.8.8" --- request GET /t ---- response_body -failed to connect to openresty.org: no resolver defined to resolve "openresty.org" +--- must_die +--- error_log +no name servers defined --- no_error_log [error] [crit] parsed a resolver: " +--- skip_nginx: 5: < 1.15.1