This commit is contained in:
parent
7882505f24
commit
1bbdbc2e0d
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user