File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -2019,6 +2019,22 @@ async def test_handshake_08_invalid_aws_ec2(self):
2019
2019
None ,
2020
2020
)
2021
2021
2022
+ async def test_handshake_09_container_with_provider (self ):
2023
+ await self ._test_handshake (
2024
+ {
2025
+ ENV_VAR_K8S : "1" ,
2026
+ "AWS_LAMBDA_RUNTIME_API" : "1" ,
2027
+ "AWS_REGION" : "us-east-1" ,
2028
+ "AWS_LAMBDA_FUNCTION_MEMORY_SIZE" : "256" ,
2029
+ },
2030
+ {
2031
+ "container" : {"orchestrator" : "kubernetes" },
2032
+ "name" : "aws.lambda" ,
2033
+ "region" : "us-east-1" ,
2034
+ "memory_mb" : 256 ,
2035
+ },
2036
+ )
2037
+
2022
2038
def test_dict_hints (self ):
2023
2039
self .db .t .find (hint = {"x" : 1 })
2024
2040
Original file line number Diff line number Diff line change @@ -1977,6 +1977,22 @@ def test_handshake_08_invalid_aws_ec2(self):
1977
1977
None ,
1978
1978
)
1979
1979
1980
+ def test_handshake_09_container_with_provider (self ):
1981
+ self ._test_handshake (
1982
+ {
1983
+ ENV_VAR_K8S : "1" ,
1984
+ "AWS_LAMBDA_RUNTIME_API" : "1" ,
1985
+ "AWS_REGION" : "us-east-1" ,
1986
+ "AWS_LAMBDA_FUNCTION_MEMORY_SIZE" : "256" ,
1987
+ },
1988
+ {
1989
+ "container" : {"orchestrator" : "kubernetes" },
1990
+ "name" : "aws.lambda" ,
1991
+ "region" : "us-east-1" ,
1992
+ "memory_mb" : 256 ,
1993
+ },
1994
+ )
1995
+
1980
1996
def test_dict_hints (self ):
1981
1997
self .db .t .find (hint = {"x" : 1 })
1982
1998
You can’t perform that action at this time.
0 commit comments