feat(boot): add server boot integration tests and fix ValueTask sync blocking

Fix Shutdown()/LameDuckMode() deadlock caused by calling .GetAwaiter().GetResult()
on pending ValueTask from Channel.ReadAsync(). ValueTask does not support synchronous
blocking — must convert via .AsTask() first. Add two integration tests validating the
full Start() → AcceptLoop → client connection → Shutdown lifecycle.
This commit is contained in:
Joseph Doherty
2026-03-01 15:13:48 -05:00
parent bd40b36c23
commit be1eb3392e
3 changed files with 120 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
# NATS .NET Porting Status Report
Generated: 2026-03-01 20:04:26 UTC
Generated: 2026-03-01 20:13:49 UTC
## Modules (12 total)