feat: complete remaining jetstream parity implementation plan

This commit is contained in:
Joseph Doherty
2026-02-23 10:16:16 -05:00
parent c7bbf45c8f
commit f46b331921
59 changed files with 1734 additions and 54 deletions

View File

@@ -0,0 +1,14 @@
namespace NATS.Server.Tests;
public class JetStreamPullConsumerContractTests
{
[Fact]
public async Task Pull_fetch_no_wait_returns_immediately_when_empty()
{
await using var fx = await JetStreamApiFixture.StartWithPullConsumerAsync();
var batch = await fx.FetchWithNoWaitAsync("ORDERS", "PULL", batch: 1);
batch.Messages.Count.ShouldBe(0);
batch.TimedOut.ShouldBeFalse();
}
}