Skip to content

Commit 2224505

Browse files
authored
Clarify authentication setup during test (#187)
This tripped me up a bit and took me a while to realize how NATS works with no authentication. I would like to follow up with a Docker compose setup that explicitly creates the necessary configuration.
1 parent e477771 commit 2224505

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ As of this commit my 2018 MacBook pro shows.
130130

131131
## Development
132132

133-
Before running the tests make sure you have a locally running copy of `nats-server` ([installation instructions](https://docs.nats.io/running-a-nats-service/introduction/installation)).
133+
Before running the tests make sure you have a locally running copy of `nats-server` ([installation instructions](https://docs.nats.io/running-a-nats-service/introduction/installation)). By default, tests are run with no authentication. Make sure your NATS configuration contains no users, or has an account with [no_auth_user](https://docs.nats.io/running-a-nats-service/configuration/securing_nats/accounts#no-auth-user) explicitly enabled.
134134

135135
We currently use version `2.6.6` in CI, but anything higher than `2.2.0` should be fine.
136136
Versions from `0.9.6` up to `2.2.0` should work fine for everything except header support.
@@ -144,4 +144,4 @@ The tests will tell you how to start the different configurations.
144144
There are also some property-based tests that generate a lot of test cases.
145145
You can tune how many test cases by setting the environment variable `N=200 mix test --only property` (default it 100).
146146

147-
For more details you can look at how Travis runs these things in the CI flow.
147+
For more details you can look at how Github runs these things in the CI flow.

0 commit comments

Comments
 (0)