You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by sp...@apache.org on 2021/02/24 08:09:35 UTC

[apisix] branch master updated: ci: avoid requesting IPv6 address as GitHub Action doesn't support it (#3656)

This is an automated email from the ASF dual-hosted git repository.

spacewander pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new 16f017d  ci: avoid requesting IPv6 address as GitHub Action doesn't support it (#3656)
16f017d is described below

commit 16f017dfedebf8bf85ff8be9d48c05d088d21d0e
Author: 罗泽轩 <sp...@gmail.com>
AuthorDate: Wed Feb 24 16:09:25 2021 +0800

    ci: avoid requesting IPv6 address as GitHub Action doesn't support it (#3656)
---
 t/node/route-domain-with-local-dns.t     | 4 ++--
 t/node/route-domain.t                    | 4 ++--
 t/plugin/key-auth-upstream-domain-node.t | 8 ++++----
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/t/node/route-domain-with-local-dns.t b/t/node/route-domain-with-local-dns.t
index ecc8c3a..d79dc2e 100644
--- a/t/node/route-domain-with-local-dns.t
+++ b/t/node/route-domain-with-local-dns.t
@@ -43,7 +43,7 @@ __DATA__
                         "upstream": {
                             "nodes": {
                                 "127.0.0.1:1980": 1,
-                                "github.com:80": 0
+                                "www.apiseven.com:80": 0
                             },
                             "type": "roundrobin"
                         },
@@ -89,4 +89,4 @@ hello world
 --- no_error_log
 [error]
 --- error_log eval
-qr/dns resolver domain: github.com to \d+.\d+.\d+.\d+/
+qr/dns resolver domain: www.apiseven.com to \d+.\d+.\d+.\d+/
diff --git a/t/node/route-domain.t b/t/node/route-domain.t
index 1804027..266a692 100644
--- a/t/node/route-domain.t
+++ b/t/node/route-domain.t
@@ -37,7 +37,7 @@ __DATA__
                         "upstream": {
                             "nodes": {
                                 "127.0.0.1:1980": 1,
-                                "github.com:80": 0
+                                "www.apiseven.com:80": 0
                             },
                             "type": "roundrobin"
                         },
@@ -79,7 +79,7 @@ hello world
 --- no_error_log
 [error]
 --- error_log eval
-qr/dns resolver domain: github.com to \d+.\d+.\d+.\d+/
+qr/dns resolver domain: www.apiseven.com to \d+.\d+.\d+.\d+/
 
 
 
diff --git a/t/plugin/key-auth-upstream-domain-node.t b/t/plugin/key-auth-upstream-domain-node.t
index f2f1589..2cc50da 100644
--- a/t/plugin/key-auth-upstream-domain-node.t
+++ b/t/plugin/key-auth-upstream-domain-node.t
@@ -98,7 +98,7 @@ passed
                     },
                     "upstream": {
                         "nodes": {
-                            "www.apple.com:80": 1
+                            "www.apiseven.com:80": 1
                         },
                         "pass_host": "node",
                         "type": "roundrobin"
@@ -148,7 +148,7 @@ location /t {
 --- request
 GET /t
 --- response_body
-return: 301
+return: 302
 return: 503
 return: 503
 --- no_error_log
@@ -166,7 +166,7 @@ return: 503
                 ngx.HTTP_PUT,
                 [[{
                     "nodes": {
-                        "www.apple.com:80": 1
+                        "www.apiseven.com:80": 1
                     },
                     "pass_host": "node",
                     "type": "roundrobin"
@@ -250,7 +250,7 @@ location /t {
 --- request
 GET /t
 --- response_body
-return: 301
+return: 302
 return: 503
 return: 503
 --- no_error_log