feat(batch15): complete group 2 msgblock/consumerfilestore
This commit is contained in:
@@ -177,9 +177,8 @@ public sealed partial class JetStreamFileStoreTests
|
||||
{
|
||||
WithStore((fs, _) =>
|
||||
{
|
||||
fs.StoreMsg("ts", null, "one"u8.ToArray(), 0);
|
||||
var cutoff = DateTime.UtcNow;
|
||||
Thread.Sleep(20);
|
||||
var (_, firstTs) = fs.StoreMsg("ts", null, "one"u8.ToArray(), 0);
|
||||
var cutoff = DateTime.UnixEpoch.AddTicks((firstTs / 100) + 1);
|
||||
fs.StoreMsg("ts", null, "two"u8.ToArray(), 0);
|
||||
|
||||
fs.GetSeqFromTime(cutoff).ShouldBeGreaterThanOrEqualTo(2UL);
|
||||
|
||||
Reference in New Issue
Block a user