Joachim Bauch
0020076f2b
Run function to test for goroutine leaks as subtest.
...
This makes sure the test has been completely teared down before the
goroutines are counted and thus should prevent flaky failed tests.
2023-01-17 14:51:02 +01:00
Joachim Bauch
2a491ec3f0
Use "T.Cleanup()" instead of manually deferred shutdown function.
2022-04-05 12:57:40 +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
Joachim Bauch
c8e4bfe007
Fix various issues found by golangci-lint.
2021-04-26 17:25:52 +02:00
Joachim Bauch
9b0c4fab00
Update nats.go to 1.10.0
2021-04-13 16:47:28 +02:00
Joachim Bauch
8ba2e0ad64
Switch dependency tracking to Go modules.
...
With that bump minimum required version to Go 1.13.
2021-04-09 16:15:00 +02:00