Skip to content

Commit

Permalink
Fixed some unit tests around SQS DLQ behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremydmiller committed Feb 22, 2024
1 parent 6e312d9 commit 3bdb5a0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ public void return_all_endpoints_gets_dead_letter_queue_too()
var one = transport.Queues["one"];
var two = transport.Queues["two"];
var three = transport.Queues["three"];
three.IsListener = true;

one.DeadLetterQueueName = null;
two.DeadLetterQueueName = "two-dead-letter-queue";
two.IsListener = true;

var endpoints = transport.Endpoints().OfType<AmazonSqsQueue>().ToArray();

Expand Down

0 comments on commit 3bdb5a0

Please sign in to comment.