mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
This test has been found to cause TestAccountNATSResolverFetch to fail on macOS. We did not find the exact reason yet, but it seem that with `-race`, the queue auto-unsub test (that creates 2,000 queue subs and sends 1,000 messages) cause mem to grow to 256MB (which we know -race is memory hungry) and that may be causing interactions with the account resolver test. For now, moving it to norace_test.go, which consumes much less memory (25MB) and anyway is a better place since it would stress better the "races" of having a queue sub being unsubscribed while messages were inflight to this queue sub. Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
63 KiB
63 KiB