test(batch17): resolve tracked tests with pass evidence or explicit deferrals

This commit is contained in:
Joseph Doherty
2026-02-28 19:45:46 -05:00
parent 4974339b52
commit 89a6479458
4 changed files with 150 additions and 7 deletions

View File

@@ -66,6 +66,30 @@ public class JetStreamMemoryStoreTests
ms.Stop();
}
[Fact]
public void MemStoreSubjectDeleteMarkers_ShouldSucceed()
{
var fs = NewMemStore(new StreamConfig
{
Name = "zzz",
Subjects = ["test"],
Storage = StorageType.MemoryStorage,
MaxAge = TimeSpan.FromSeconds(1),
AllowMsgTTL = true,
SubjectDeleteMarkerTTL = TimeSpan.FromSeconds(1),
});
var (seq, _) = fs.StoreMsg("test", null, Bytes("x"), 0);
seq.ShouldBe(1UL);
var (removed, err) = fs.RemoveMsg(seq);
removed.ShouldBeTrue();
err.ShouldBeNull();
fs.State().Msgs.ShouldBe(0UL);
fs.Stop();
}
[Fact]
public void AllLastSeqsLocked_MatchesPublicAllLastSeqsOrdering()
{