spacewander commented on PR #7099:
URL: https://github.com/apache/apisix/pull/7099#issuecomment-1162571147

   > It might be difficult for me to write test samples and i don’t know how to 
write
   
   You can refer to 
https://github.com/apache/apisix/blob/master/docs/en/latest/internal/testing-framework.md
 and run the test locally.
   
   Also, some maintainers think we need to run the test with real 
elasticsearch. You can run ES like 
https://github.com/elastic/elastic-github-actions/blob/master/elasticsearch/run-elasticsearch.sh
 in https://github.com/apache/apisix/blob/master/ci/pod/docker-compose.yml. 
Then change the mock server to proxy the test requests to the real 
elasticsearch.


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