nic-6443 commented on code in PR #9077:
URL: https://github.com/apache/apisix/pull/9077#discussion_r1138634093
##########
t/node/consumer-plugin2.t:
##########
@@ -435,3 +435,35 @@ apikey: auth-jack
{"message":"Your IP address is not allowed"}
hello world
hello world
+
+
+
+=== TEST 10: consumer should work if the etcd connection failed during starting
+--- extra_init_by_lua
+local etcd_apisix = require("apisix.core.etcd")
+etcd_apisix.get_etcd_syncer = function ()
+ return nil, "", "ouch"
+end
+--- config
+ location /t {
+ content_by_lua_block {
+ local t = require("lib.test_admin").test
Review Comment:
Unused local variable.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]