Skip to content

Commit

Permalink
test: update test case
Browse files Browse the repository at this point in the history
add using for AutoRequeueUnAckedMessagesAsync_ShouldRequeueUnAckedMessagesAfterTimeout
  • Loading branch information
WeihanLi committed Jan 4, 2025
1 parent 8683101 commit 83425b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/WeihanLi.Common.Test/EventsTest/AckQueueTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public async Task RequeueUnAckedMessagesAsync_ShouldRequeueUnAckedMessagesAfterT
public async Task AutoRequeueUnAckedMessagesAsync_ShouldRequeueUnAckedMessagesAfterTimeout()
{
var testEvent = new TestEvent { Message = "Test Message" };
var ackQueue = new AckQueue(new()
await using var ackQueue = new AckQueue(new()
{
AutoRequeue = true,
AckTimeout = TimeSpan.FromSeconds(3),
Expand Down

0 comments on commit 83425b8

Please sign in to comment.