Skip to content

Commit

Permalink
Add retry_attempts into tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasdesr committed Dec 24, 2020
1 parent 51acc50 commit b11c016
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def test_traced_client(self):
"aws.region": "us-west-2",
"aws.request_id": "fdcdcab1-ae5c-489e-9c33-4637c5dda355",
"aws.service": "ec2",
"aws.retry_attempts": 0,
"http.status_code": 200,
},
)
Expand Down Expand Up @@ -116,6 +117,7 @@ def test_s3_client(self):
"aws.operation": "ListBuckets",
"aws.region": "us-west-2",
"aws.service": "s3",
"aws.retry_attempts": 0,
"http.status_code": 200,
},
)
Expand Down Expand Up @@ -159,6 +161,7 @@ def test_s3_put(self):
"aws.operation": "CreateBucket",
"aws.region": "us-west-2",
"aws.service": "s3",
"aws.retry_attempts": 0,
"http.status_code": 200,
},
)
Expand All @@ -169,6 +172,7 @@ def test_s3_put(self):
"aws.operation": "PutObject",
"aws.region": "us-west-2",
"aws.service": "s3",
"aws.retry_attempts": 0,
"http.status_code": 200,
},
)
Expand All @@ -180,6 +184,7 @@ def test_s3_put(self):
"aws.operation": "GetObject",
"aws.region": "us-west-2",
"aws.service": "s3",
"aws.retry_attempts": 0,
"http.status_code": 200,
},
)
Expand All @@ -203,6 +208,7 @@ def test_sqs_client(self):
"aws.operation": "ListQueues",
"aws.region": "us-east-1",
"aws.service": "sqs",
"aws.retry_attempts": 0,
"http.status_code": 200,
},
)
Expand Down Expand Up @@ -233,6 +239,7 @@ def test_sqs_send_message(self):
"aws.operation": "CreateQueue",
"aws.region": "us-east-1",
"aws.service": "sqs",
"aws.retry_attempts": 0,
"http.status_code": 200,
},
)
Expand All @@ -248,6 +255,7 @@ def test_sqs_send_message(self):
"aws.queue_url": response["QueueUrl"],
"aws.region": "us-east-1",
"aws.service": "sqs",
"aws.retry_attempts": 0,
"http.status_code": 200,
},
)
Expand All @@ -270,6 +278,7 @@ def test_kinesis_client(self):
"aws.operation": "ListStreams",
"aws.region": "us-east-1",
"aws.service": "kinesis",
"aws.retry_attempts": 0,
"http.status_code": 200,
},
)
Expand Down Expand Up @@ -315,6 +324,7 @@ def test_lambda_client(self):
"aws.operation": "ListFunctions",
"aws.region": "us-east-1",
"aws.service": "lambda",
"aws.retry_attempts": 0,
"http.status_code": 200,
},
)
Expand All @@ -335,6 +345,7 @@ def test_kms_client(self):
"aws.operation": "ListKeys",
"aws.region": "us-east-1",
"aws.service": "kms",
"aws.retry_attempts": 0,
"http.status_code": 200,
},
)
Expand All @@ -359,6 +370,7 @@ def test_sts_client(self):
"aws.region": "us-east-1",
"aws.request_id": "c6104cbe-af31-11e0-8154-cbc7ccf896c7",
"aws.service": "sts",
"aws.retry_attempts": 0,
"http.status_code": 200,
},
)
Expand Down Expand Up @@ -395,6 +407,7 @@ def check_headers(**kwargs):
"aws.region": "us-west-2",
"aws.request_id": "fdcdcab1-ae5c-489e-9c33-4637c5dda355",
"aws.service": "ec2",
"aws.retry_attempts": 0,
"http.status_code": 200,
},
)
Expand Down Expand Up @@ -463,6 +476,7 @@ def test_dynamodb_client(self):
"aws.region": "us-west-2",
"aws.service": "dynamodb",
"aws.table_name": "test_table_name",
"aws.retry_attempts": 0,
"http.status_code": 200,
},
)
Expand All @@ -478,6 +492,7 @@ def test_dynamodb_client(self):
"aws.region": "us-west-2",
"aws.service": "dynamodb",
"aws.table_name": "test_table_name",
"aws.retry_attempts": 0,
"http.status_code": 200,
},
)
Expand All @@ -493,6 +508,7 @@ def test_dynamodb_client(self):
"aws.region": "us-west-2",
"aws.service": "dynamodb",
"aws.table_name": "test_table_name",
"aws.retry_attempts": 0,
"http.status_code": 200,
},
)

0 comments on commit b11c016

Please sign in to comment.