Joseph Doherty
d2c04fcca5
refactor: extract NATS.Server.Transport.Tests project
...
Move TLS, OCSP, WebSocket, Networking, and IO test files from
NATS.Server.Tests into a dedicated NATS.Server.Transport.Tests
project. Update namespaces, replace private GetFreePort/ReadUntilAsync
with shared TestUtilities helpers, extract TestCertHelper to
TestUtilities, and replace Task.Delay polling loops with
PollHelper.WaitUntilAsync/YieldForAsync for proper synchronization.
2026-03-12 14:57:35 -04:00
Joseph Doherty
c30e67a69d
Fix E2E test gaps and add comprehensive E2E + parity test suites
...
- Fix pull consumer fetch: send original stream subject in HMSG (not inbox)
so NATS client distinguishes data messages from control messages
- Fix MaxAge expiry: add background timer in StreamManager for periodic pruning
- Fix JetStream wire format: Go-compatible anonymous objects with string enums,
proper offset-based pagination for stream/consumer list APIs
- Add 42 E2E black-box tests (core messaging, auth, TLS, accounts, JetStream)
- Add ~1000 parity tests across all subsystems (gaps closure)
- Update gap inventory docs to reflect implementation status
2026-03-12 14:09:23 -04:00
Joseph Doherty
e190af5289
test(parity): port message trace & infrastructure tests (Task 27, 105 tests)
...
34 msg trace tests — basic, routed, leaf, gateway, compressed, JetStream
71 infrastructure tests — parser, log, errors, config check, subject transform,
nkey, ping, util, trust, closed conns, rate counter
Go refs: msgtrace_test.go, closed_conns_test.go, parser_test.go, log_test.go,
errors_test.go, config_check_test.go, subject_transform_test.go, etc.
2026-02-24 22:05:44 -05:00