Skip to content

Commit a3ab1ea

Browse files
authored
XFail one of the Lambda tests (getsentry#3592)
AWS Lambda has changed something in their environment and now our tests can not capture events in the init phase of the Lambda function.
1 parent 05411ff commit a3ab1ea

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/integrations/aws_lambda/test_aws.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,9 @@ def test_handler(event, context):
317317
}
318318

319319

320+
@pytest.mark.xfail(
321+
reason="Amazon changed something (2024-10-01) and on Python 3.9+ our SDK can not capture events in the init phase of the Lambda function anymore. We need to fix this somehow."
322+
)
320323
def test_init_error(run_lambda_function, lambda_runtime):
321324
envelope_items, _ = run_lambda_function(
322325
LAMBDA_PRELUDE

0 commit comments

Comments
 (0)