test(batch17): resolve tracked tests with pass evidence or explicit deferrals
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user