1
- ## Overview
1
+ # Running RabbitMQ Java Client Test Suites
2
2
3
3
There are multiple test suites in the RabbitMQ Java client library;
4
4
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:
8
8
9
9
* Client tests
10
10
* Server tests
11
- * SSL tests
11
+ * TLS connectivity tests
12
12
* Functional tests
13
- * HA tests
13
+ * Multi-node tests
14
14
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 ` .
18
18
19
19
Connection recovery tests need ` rabbitmqctl ` to control the running nodes.
20
- can control the running node.
21
20
22
21
` ./mvnw verify ` will start those nodes with the appropriate configuration.
23
22
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
25
26
fetch the dependencies in the ` deps ` directory.
26
27
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
+
28
30
```
29
31
./mvnw -Ddeps.dir=$(pwd)/deps verify
30
32
```
31
33
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:
34
36
35
37
```
36
38
./mvnw -Ddeps.dir=$(pwd)/deps verify -P use-nio
0 commit comments