Skip to content

Commit f8fd924

Browse files
committed
docs: add note regarding test conflicts
1 parent 41bafea commit f8fd924

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,18 @@ To verify that your code works as expected, run the tests:
5252
./mvnw clean test
5353
```
5454

55+
#### :warning: IMPORTANT
56+
57+
Due to the nature of the tests needing to bind the same port, it's advisable to run the server and client tests separately until both classes are complete, i.e.:
58+
59+
```shell
60+
./mvnw clean test -Dtest=SocketServerTest
61+
```
62+
63+
```shell
64+
./mvnw clean test -Dtest=SocketClientTest
65+
```
66+
5567
[1]: https://docs.oracle.com/javase/21/docs/api/index.html
5668
[2]: https://junit.org/junit5/
5769
[3]: https://maven.apache.org/

0 commit comments

Comments
 (0)