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/11/01 07:36:08 UTC

[apisix] branch master updated: test: the http2 is missing which causes weird result (#5382)

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 9fc67b1  test: the http2 is missing which causes weird result (#5382)
9fc67b1 is described below

commit 9fc67b1c394a48f1fe9dc3cd500d537399f5153a
Author: 罗泽轩 <sp...@gmail.com>
AuthorDate: Mon Nov 1 15:36:03 2021 +0800

    test: the http2 is missing which causes weird result (#5382)
---
 t/APISIX.pm               | 2 +-
 t/node/grpc-proxy-unary.t | 4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/t/APISIX.pm b/t/APISIX.pm
index da9a46e..1f0f18a 100644
--- a/t/APISIX.pm
+++ b/t/APISIX.pm
@@ -599,7 +599,7 @@ _EOC_
     $config .= <<_EOC_;
         $ipv6_listen_conf
 
-        listen 1994 ssl;
+        listen 1994 ssl http2;
         ssl_certificate             cert/apisix.crt;
         ssl_certificate_key         cert/apisix.key;
         lua_ssl_trusted_certificate cert/apisix.crt;
diff --git a/t/node/grpc-proxy-unary.t b/t/node/grpc-proxy-unary.t
index 01a9801..330b9b4 100644
--- a/t/node/grpc-proxy-unary.t
+++ b/t/node/grpc-proxy-unary.t
@@ -68,7 +68,6 @@ routes:
                 return
             end
             ngx.say(data:sub(1, -2))
-            return
         }
     }
 --- response_body
@@ -110,7 +109,6 @@ routes:
                 return
             end
             ngx.say(data:sub(1, -2))
-            return
         }
     }
 --- response_body
@@ -152,7 +150,6 @@ routes:
                 return
             end
             ngx.say(data:sub(1, -2))
-            return
         }
     }
 --- response_body
@@ -200,7 +197,6 @@ routes:
                 return
             end
             ngx.say(data:sub(1, -2))
-            return
         }
     }
 --- response_body