fix(test_sqs) Extends the Visibility Timeout for failed test(#5230) (#5231)

This commit is contained in:
cm-iwata 2022-06-15 23:51:02 +09:00 committed by GitHub
parent 7882505f24
commit 1bbdbc2e0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1635,7 +1635,7 @@ def test_change_message_visibility_on_old_message():
def test_change_message_visibility_on_visible_message(): def test_change_message_visibility_on_visible_message():
sqs = boto3.resource("sqs", region_name="us-east-1") sqs = boto3.resource("sqs", region_name="us-east-1")
queue = sqs.create_queue( queue = sqs.create_queue(
QueueName=str(uuid4())[0:6], Attributes={"VisibilityTimeout": "1"} QueueName=str(uuid4())[0:6], Attributes={"VisibilityTimeout": "2"}
) )
queue.send_message(MessageBody="test message") queue.send_message(MessageBody="test message")