Skip to content

Commit 1295ae4

Browse files
committed
???????????
1 parent dffc446 commit 1295ae4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

datadog_lambda/patch.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def patch_all():
3030
_patch_for_integration_tests()
3131

3232
if config.trace_enabled:
33+
# XXX this call is making the tests fail
3334
patch_all_dd()
3435
else:
3536
_patch_http()

tests/test_cold_start.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ def handler(event, context):
261261
lambda_context.invoked_function_arn = (
262262
"arn:aws:lambda:us-west-1:123457598159:function:python-layer-test:1"
263263
)
264+
lambda_context.get_remaining_time_in_millis = lambda: 100
264265

265266
handler.cold_start_tracing = True
266267
handler({}, lambda_context)

0 commit comments

Comments
 (0)