Joachim Bauch
2a491ec3f0
Use "T.Cleanup()" instead of manually deferred shutdown function.
2022-04-05 12:57:40 +02:00
Joachim Bauch
60b11b1ba9
Don't start test until receiving goroutine is ready.
2021-06-08 09:44:53 +02:00
Joachim Bauch
c8886d03c9
Simplify loopback NATS client.
...
Only use one goroutine per client instead of one per subscription.
This ensures that (like with the "real" client), all messages are
processed in order across different subscriptions.
2021-06-07 16:53:26 +02:00
Joachim Bauch
1687c80122
Add more tests.
2021-06-04 15:30:55 +02:00
Joachim Bauch
762d1512c4
Remove unused "Request" method from NATS client.
2021-06-04 15:16:16 +02:00
Joachim Bauch
c91b0de254
Add tests for regular NATS client.
2021-06-04 15:13:33 +02:00