Skip to content

Commit

Permalink
Merge branch 'main' into Deadlock
Browse files Browse the repository at this point in the history
  • Loading branch information
prezaei authored Jan 12, 2025
2 parents 693c70d + c21b996 commit d9da9e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Interprocess.Tests/QueueTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ public void CanRecoverIfPublisherCrashes()
p.TryEnqueue(ByteArray1).Should().BeTrue();
using var s = CreateSubscriber(1024);

// This line should take 10 seconds to return (that is how long the timeout is set in teh code)
// After the 10 seconds expires, we should have lost all other messages that were in teh queue when we started the dequeue process.
// This line should take 10 seconds to return (that is how long the timeout is set in the code)
// After the 10 seconds expires, we should have lost all other messages that were in the queue when we started the dequeue process.
s.TryDequeue(default, out _).Should().BeFalse();

// But then, after this 10 seconds delay, system should fully recover and continue with new messages
Expand Down

0 comments on commit d9da9e7

Please sign in to comment.