You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/10/21 07:07:56 UTC

[GitHub] [apisix] spacewander commented on a diff in pull request #8006: feat(test): add default no_error_log

spacewander commented on code in PR #8006:
URL: https://github.com/apache/apisix/pull/8006#discussion_r1001393797


##########
t/discovery/consul_kv.t:
##########
@@ -218,6 +218,7 @@ routes:
 GET /hello
 --- response_body_like eval
 qr/server [1-2]/
+--- ignore_error_log

Review Comment:
   Why do we need to ignore error log in this file?



##########
t/kubernetes/discovery/kubernetes.t:
##########
@@ -224,6 +230,8 @@ GET /compare
 Content-type: application/json
 --- response_body
 true
+--- error_log
+not found environment variable

Review Comment:
   Could we provide dummy env var in this file to suppress repeated error msg?



##########
t/plugin/kafka-logger.t:
##########
@@ -148,6 +144,7 @@ GET /hello
 --- response_body
 hello world
 --- wait: 2
+--- ignore_error_log

Review Comment:
   Ditto



##########
t/kubernetes/discovery/kubernetes.t:
##########
@@ -286,3 +294,5 @@ GET /compare
 Content-type: application/json
 --- response_body
 true
+--- error_log
+failed to get lua_shared_dict

Review Comment:
   Would be better to add required shdict in the test nginx.conf?



##########
t/plugin/dubbo-proxy/upstream.t:
##########
@@ -88,6 +88,7 @@ routes:
 #END
 --- response_body
 dubbo success
+--- ignore_error_log

Review Comment:
   Why do we add ignore_error_log here?



##########
t/control/discovery.t:
##########
@@ -77,6 +73,8 @@ GET /t
 --- response_body
 {}
 {"fetch_interval":3,"keepalive":true,"prefix":"upstreams","servers":["http://127.0.0.1:8500","http://127.0.0.1:8600"],"timeout":{"connect":2000,"read":2000,"wait":60},"weight":1}
+--- error_log
+connect consul

Review Comment:
   Why do we need to check "connect consul" error log?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org