File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
tests/aws/services/lambda_/event_source_mapping Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -415,6 +415,9 @@ def receive_dlq():
415
415
416
416
417
417
@markers .aws .validated
418
+ @pytest .mark .skip (
419
+ reason = "Flaky as an SQS queue will not always return messages in a ReceiveMessages call."
420
+ )
418
421
def test_report_batch_item_failures (
419
422
create_lambda_function ,
420
423
sqs_create_queue ,
@@ -538,6 +541,7 @@ def test_report_batch_item_failures(
538
541
# now wait for the first invocation result which is expected to have processed message 1 we wait half the retry
539
542
# interval to wait long enough for the message to appear, but short enough to check that the DLQ is empty after
540
543
# the first attempt.
544
+ # FIXME: We cannot assume that the queue will always return a message in the given time-interval.
541
545
first_invocation = aws_client .sqs .receive_message (
542
546
QueueUrl = destination_url , WaitTimeSeconds = int (retry_timeout / 2 ), MaxNumberOfMessages = 1
543
547
)
You can’t perform that action at this time.
0 commit comments