Revolyssup commented on code in PR #12353:
URL: https://github.com/apache/apisix/pull/12353#discussion_r2157466666


##########
t/discovery/nacos2.t:
##########
@@ -148,18 +148,43 @@ routes:
       type: roundrobin
 
 #END
---- pipelined_requests eval
-[
-    "GET /hello",
-    "GET /hello",
-]
---- response_body_like eval
-[
-    qr/server [1-2]/,
-    qr/server [1-2]/,
-]
---- no_error_log
-[error, error]
+--- config
+    location /t {
+        content_by_lua_block {
+            local http = require("resty.http")
+            local uri = "http://127.0.0.1:"; .. ngx.var.server_port
+
+            -- Wait for 2 seconds for APISIX initialization

Review Comment:
   Test is modified to add this sleep because: Since retry mechanism is 
removed, priviliged agent fills data in shdict might take some time so we want 
to send the request after that.



-- 
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-unsubscr...@apisix.apache.org

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

Reply via email to