Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions test/asynchronous/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2019,6 +2019,22 @@ async def test_handshake_08_invalid_aws_ec2(self):
None,
)

async def test_handshake_09_container_with_provider(self):
await self._test_handshake(
{
ENV_VAR_K8S: "1",
"AWS_LAMBDA_RUNTIME_API": "1",
"AWS_REGION": "us-east-1",
"AWS_LAMBDA_FUNCTION_MEMORY_SIZE": "256",
},
{
"container": {"orchestrator": "kubernetes"},
"name": "aws.lambda",
"region": "us-east-1",
"memory_mb": 256,
},
)

def test_dict_hints(self):
self.db.t.find(hint={"x": 1})

Expand Down
16 changes: 16 additions & 0 deletions test/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1977,6 +1977,22 @@ def test_handshake_08_invalid_aws_ec2(self):
None,
)

def test_handshake_09_container_with_provider(self):
self._test_handshake(
{
ENV_VAR_K8S: "1",
"AWS_LAMBDA_RUNTIME_API": "1",
"AWS_REGION": "us-east-1",
"AWS_LAMBDA_FUNCTION_MEMORY_SIZE": "256",
},
{
"container": {"orchestrator": "kubernetes"},
"name": "aws.lambda",
"region": "us-east-1",
"memory_mb": 256,
},
)

def test_dict_hints(self):
self.db.t.find(hint={"x": 1})

Expand Down
Loading