Skip to content

Commit

Permalink
docs: correct the test-nginx description (apache#7818)
Browse files Browse the repository at this point in the history
Signed-off-by: spacewander <[email protected]>
  • Loading branch information
spacewander authored and Liu-Junlin committed Nov 4, 2022
1 parent afd792f commit 1336165
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/en/latest/internal/testing-framework.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion utils/gen-vote-contents.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1336165

Please sign in to comment.