jiangfucheng commented on code in PR #9967:
URL: https://github.com/apache/apisix/pull/9967#discussion_r1285069448


##########
t/core/config_etcd.t:
##########
@@ -443,3 +443,81 @@ qr/readdir key: fake res: 
\{.*"nodes":\[\{.*"value":\["bar"\].*\}\].*\}/
 --- wait: 1
 --- no_error_log
 [error]
+
+
+
+=== TEST 13: test route with special character "-"
+--- yaml_config
+deployment:
+  role: traditional
+  role_traditional:
+    config_provider: etcd
+  admin:
+    admin_key: null
+  etcd:
+    prefix: "/apisix-test"
+--- config
+    location /t {
+        content_by_lua_block {
+            ngx.sleep(0.5)

Review Comment:
   This sleep is to wait for the watch thread to start, according to my 
testing, APISIX seems can't watch data occasionally if we set data to etcd 
immediately after APISIX starts. 



-- 
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]

Reply via email to