File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -100,17 +100,17 @@ def test_send_message(sqs):
100100 assert (boto_span .ec is None )
101101
102102 assert boto_span .data ['boto3' ]['op' ] == 'SendMessage'
103- assert boto_span .data ['boto3' ]['ep' ] == 'https://queue .amazonaws.com'
103+ assert boto_span .data ['boto3' ]['ep' ] == 'https://sqs.us-east-1 .amazonaws.com'
104104 assert boto_span .data ['boto3' ]['reg' ] == 'us-east-1'
105105
106- payload = {'QueueUrl' : 'https://queue .amazonaws.com/123456789012/SQS_QUEUE_NAME' , 'DelaySeconds' : 10 ,
106+ payload = {'QueueUrl' : 'https://sqs.us-east-1 .amazonaws.com/123456789012/SQS_QUEUE_NAME' , 'DelaySeconds' : 10 ,
107107 'MessageAttributes' : {'Website' : {'DataType' : 'String' , 'StringValue' : 'https://www.instana.com' }},
108108 'MessageBody' : 'Monitor any application, service, or request with Instana Application Performance Monitoring' }
109109 assert boto_span .data ['boto3' ]['payload' ] == payload
110110
111111 assert boto_span .data ['http' ]['status' ] == 200
112112 assert boto_span .data ['http' ]['method' ] == 'POST'
113- assert boto_span .data ['http' ]['url' ] == 'https://queue .amazonaws.com:443/SendMessage'
113+ assert boto_span .data ['http' ]['url' ] == 'https://sqs.us-east-1 .amazonaws.com:443/SendMessage'
114114
115115
116116@mock_sqs
You can’t perform that action at this time.
0 commit comments