nic-6443 commented on PR #13254: URL: https://github.com/apache/apisix/pull/13254#issuecomment-4273248265
Fixed the `linux_apisix_current_luarocks` stream DNS test failure. The root cause was a race condition: the `curl http://127.0.0.1:9100` was firing immediately after the admin PUT, before the stream route had propagated from etcd to the stream workers. The APISIX log showed `matched route: null` followed by the etcd sync `insert data by key: 1` happening afterwards. Added a 1-second sleep between the route creation and the test request to let the config sync complete. -- 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]
