From 1336165863981b4dc86b89e859f4eaf9f00c99b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E6=B3=BD=E8=BD=A9?= Date: Wed, 31 Aug 2022 15:34:55 +0800 Subject: [PATCH] docs: correct the test-nginx description (#7818) Signed-off-by: spacewander --- docs/en/latest/internal/testing-framework.md | 4 ++-- utils/gen-vote-contents.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/en/latest/internal/testing-framework.md b/docs/en/latest/internal/testing-framework.md index 5551534936b5..846b2fa5545b 100644 --- a/docs/en/latest/internal/testing-framework.md +++ b/docs/en/latest/internal/testing-framework.md @@ -291,7 +291,7 @@ The default log level is `info`, but you can get the debug level log with `-- lo The test framework listens to multiple ports when it is started. -* 1980/1981/1982/5044: HTTP upstream port +* 1980/1981/1982/5044: HTTP upstream port. We provide a mock upstream server for testing. See below for more information. * 1983: HTTPS upstream port * 1984: APISIX HTTP port. Can be used to verify HTTP related gateway logic, such as concurrent access to an API. * 1985: APISIX TCP port. Can be used to verify TCP related gateway logic, such as concurrent access to an API. @@ -309,7 +309,7 @@ Note that before adding new methods to `t/lib/server.lua`, make sure that you ca Assume your current work directory is the root of the apisix source code. -1. Install our fork of [test-nginx](https://github.com/openresty/test-nginx) to `../test-nginx`. +1. Git clone the latest [test-nginx](https://github.com/openresty/test-nginx) to `../test-nginx`. 2. Run the test: `prove -I. -I../test-nginx/inc -I../test-nginx/lib -r t/path/to/file.t`. ## Tips diff --git a/utils/gen-vote-contents.sh b/utils/gen-vote-contents.sh index 87ddedbc18d8..d644dfd6bedf 100755 --- a/utils/gen-vote-contents.sh +++ b/utils/gen-vote-contents.sh @@ -73,7 +73,7 @@ tar zxvf apache-apisix-$VERSION-src.tgz 4. Build Apache APISIX: -https://github.com/apache/apisix/blob/release/$BLOB_VERSION/docs/en/latest/installation-guide.md#installation-via-source-release-package +https://github.com/apache/apisix/blob/release/$BLOB_VERSION/docs/en/latest/building-apisix.md#building-apisix-from-source The vote will be open for at least 72 hours or until necessary number of votes are reached.