spacewander commented on a change in pull request #3820:
URL: https://github.com/apache/apisix/pull/3820#discussion_r602672250



##########
File path: .travis/linux_tengine_runner.sh
##########
@@ -40,6 +40,9 @@ before_install() {
     # start consul servers
     docker run --rm --name consul_1 -d -p 8500:8500 consul:1.7 consul agent 
-server -bootstrap-expect=1 -client 0.0.0.0 -log-level info 
-data-dir=/consul/data
     docker run --rm --name consul_2 -d -p 8600:8500 consul:1.7 consul agent 
-server -bootstrap-expect=1 -client 0.0.0.0 -log-level info 
-data-dir=/consul/data
+
+    # start nacos server
+    docker run --rm --name nacos_1 -d --env PREFER_HOST_MODE=hostname --env 
MODE=standalone --env JVM_XMS=512m --env JVM_XMX=512m --env JVM_XMN=256m 
-p8848:8848 nacos/nacos-server:latest

Review comment:
       You can export the auth function: 
https://github.com/apache/apisix/pull/3820/files#diff-46fd008790f9ea29612a92ca5c94212ae43c81ab6b902ef3014d3d6b4bdfc5b3R202
   and call it in the test file.




-- 
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:
us...@infra.apache.org


Reply via email to