spacewander commented on a change in pull request #2965: URL: https://github.com/apache/apisix/pull/2965#discussion_r537210013
########## File path: .travis/apisix_cli_test.sh ########## @@ -817,3 +817,53 @@ fi done echo "passed: etcd auth enabled and init kv has been set up correctly" + +# check etcd connect refused +git checkout conf/config.yaml + +echo ' +etcd: + host: + - "http://127.0.0.1:2389" + prefix: "/apisix" +' > conf/config.yaml + +make init &>/tmp/apisix_temp & Review comment: @starsz You can try this way: https://github.com/apache/apisix/blob/c41aa8534a18f43ef0c3cd6780f106595f9f9b88/.travis/apisix_cli_test_in_ci.sh#L43 ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
