Skip to content

Commit 136c796

Browse files
Update RUNNING_TESTS.md
1 parent 2c4db92 commit 136c796

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

RUNNING_TESTS.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Overview
1+
# Running RabbitMQ Java Client Test Suites
22

33
There are multiple test suites in the RabbitMQ Java client library;
44
the source for all of the suites can be found in the [src/test/java](src/test/java)
@@ -8,29 +8,31 @@ The suites are:
88

99
* Client tests
1010
* Server tests
11-
* SSL tests
11+
* TLS connectivity tests
1212
* Functional tests
13-
* HA tests
13+
* Multi-node tests
1414

15-
All of them assume a RabbitMQ node listening on localhost:5672
16-
(the default settings). SSL tests require a broker listening on the default
17-
SSL port. HA tests expect a second node listening on localhost:5673.
15+
All of them assume a RabbitMQ node listening on `localhost:5672`
16+
(the default settings). TLS tests require a broker listening on the default
17+
TLS port, `5671`. Multi-node tests expect a second cluster node listening on `localhost:5673`.
1818

1919
Connection recovery tests need `rabbitmqctl` to control the running nodes.
20-
can control the running node.
2120

2221
`./mvnw verify` will start those nodes with the appropriate configuration.
2322

24-
To easily fulfill all those requirements, you should use `make deps` to
23+
## Running Tests
24+
25+
To easily fulfill all those requirements, use `make deps` to
2526
fetch the dependencies in the `deps` directory.
2627

27-
You then run Maven with the `deps.dir` property set like this:
28+
Then run Maven with the `deps.dir` property set like this:
29+
2830
```
2931
./mvnw -Ddeps.dir=$(pwd)/deps verify
3032
```
3133

32-
The previous command launches tests against the blocking IO connector. If you want
33-
to run the tests against the NIO connector, add `-P use-nio` to the command line:
34+
The previous command launches tests against the blocking IO connector.
35+
To run the tests against the NIO connector, add `-P use-nio` to the command line:
3436

3537
```
3638
./mvnw -Ddeps.dir=$(pwd)/deps verify -P use-nio

0 commit comments

Comments
 (0)