Commit graph

10 commits

Author SHA1 Message Date
Joachim Bauch 0b4e48af3b
Remove unnecessary variable to flag closed loopback client. 2023-02-22 08:34:13 +01:00
Joachim Bauch 0115c97946
Refactor asynchronous events to central location. 2022-06-24 13:37:35 +02:00
Joachim Bauch 7618bc683c
Ignore room NATS messages that were sent before the room was joined.
Can happen mostly during tests (e.g. TestClientTakeoverRoomSession)
where the new client could receive the "leave" event that was sent
before it joined the room (but got delivered after joining).
2021-06-08 09:20:18 +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 6e54d8f4f4
Attempt to fix flaky tests. 2021-06-04 15:46:21 +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
Renamed from src/signaling/natsclient_loopback.go (Browse further)