Add batch 32 JS cluster meta backlog test mappings

This commit is contained in:
Joseph Doherty
2026-02-28 22:30:41 -05:00
parent 7e8b81b648
commit 34bc4e1137
12 changed files with 616 additions and 0 deletions

View File

@@ -6,6 +6,23 @@ namespace ZB.MOM.NatsNet.Server.Tests.ImplBacklog;
public sealed class JetStreamClusterLongTests
{
[Fact] // T:1217
public void LongClusterCLFSOnDuplicates_ShouldSucceed()
{
var updates = new RecoveryUpdates();
var stream = new StreamAssignment
{
Client = new ClientInfo { Account = "A" },
Config = new StreamConfig { Name = "DUPES" },
};
for (var i = 0; i < 3; i++)
updates.AddStream(stream);
updates.AddStreams.Count.ShouldBe(1);
updates.AddStreams.ShouldContainKey("A:DUPES");
}
[Fact] // T:1219
public void LongFileStoreEnforceMsgPerSubjectLimit_ShouldSucceed()
{