Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-chervet committed Nov 27, 2024
1 parent 0ac1cf0 commit 21e145f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/SlimData.Tests/CommandsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public static async Task InterpreterWithPersistentState()
{
byte[] bytes = RandomBytes(1000);
using var wal = new SlimPersistentState(Path.Combine(Path.GetTempPath(), Path.GetRandomFileName()));
var entry1 = wal.CreateLogEntry(new ListLeftPushCommand { Key = "youhou" , Value = bytes });
var entry1 = wal.CreateLogEntry(new ListLeftPushCommand { Key = "youhou" , Value = bytes, Identifier = "1", RetryTimeout = 100, Retries = new List<int> { 1, 2, 3 }, NowTicks = DateTime.UtcNow.Ticks });
await wal.AppendAsync(entry1);
Assert.Empty(wal.SlimDataState.Queues);
await wal.CommitAsync(CancellationToken.None);
Expand Down

0 comments on commit 21e145f

Please sign in to comment.