Skip to content

Conversation

@antonpirker
Copy link
Contributor


Thank you for contributing to sentry-python! Please add tests to validate your changes, and lint your code using tox -e linters.

Running the test suite on your PR might require maintainer approval. The AWS Lambda tests additionally require a maintainer to add a special label, and they will fail until this label is added.

@codecov
Copy link

codecov bot commented Nov 13, 2024

❌ 4 Tests Failed:

Tests completed Failed Passed Skipped
13630 4 13626 4118
View the full list of 3 ❄️ flaky tests
tests.integrations.aws_lambda.test_aws test_non_dict_event[python3.9-\n            [\n                {\n                    "headers": {\n                        "Host": "x1.io",\n                        "X-Forwarded-Proto": "https"\n                    },\n                    "httpMethod": "GET",\n                    "path": "/path1",\n                    "queryStringParameters": {\n                        "done": "false"\n                    },\n                    "dog": "Maisey"\n                },\n                {\n                    "headers": {\n                        "Host": "x2.io",\n                        "X-Forwarded-Proto": "http"\n                    },\n                    "httpMethod": "POST",\n                    "path": "/path2",\n                    "queryStringParameters": {\n                        "done": "true"\n                    },\n                    "dog": "Charlie"\n                }\n            ]\n            -True-2]

Flake rate in main: 37.93% (Passed 18 times, Failed 11 times)

Stack Traces | 0.736s run time
.../integrations/aws_lambda/test_aws.py:513: in test_non_dict_event
    (
E   ValueError: not enough values to unpack (expected 2, got 1)
tests.integrations.aws_lambda.test_aws test_non_dict_event[python3.11-\n            [\n                {\n                    "headers": {\n                        "Host": "x1.io",\n                        "X-Forwarded-Proto": "https"\n                    },\n                    "httpMethod": "GET",\n                    "path": "/path1",\n                    "queryStringParameters": {\n                        "done": "false"\n                    },\n                    "dog": "Maisey"\n                },\n                {\n                    "headers": {\n                        "Host": "x2.io",\n                        "X-Forwarded-Proto": "http"\n                    },\n                    "httpMethod": "POST",\n                    "path": "/path2",\n                    "queryStringParameters": {\n                        "done": "true"\n                    },\n                    "dog": "Charlie"\n                }\n            ]\n            -True-2]

Flake rate in main: 44.44% (Passed 10 times, Failed 8 times)

Stack Traces | 0.757s run time
.../integrations/aws_lambda/test_aws.py:513: in test_non_dict_event
    (
E   ValueError: not enough values to unpack (expected 2, got 1)
tests.integrations.aws_lambda.test_aws test_non_dict_event[python3.8-\n            [\n                {\n                    "headers": {\n                        "Host": "x1.io",\n                        "X-Forwarded-Proto": "https"\n                    },\n                    "httpMethod": "GET",\n                    "path": "/path1",\n                    "queryStringParameters": {\n                        "done": "false"\n                    },\n                    "dog": "Maisey"\n                },\n                {\n                    "headers": {\n                        "Host": "x2.io",\n                        "X-Forwarded-Proto": "http"\n                    },\n                    "httpMethod": "POST",\n                    "path": "/path2",\n                    "queryStringParameters": {\n                        "done": "true"\n                    },\n                    "dog": "Charlie"\n                }\n            ]\n            -True-2]

Flake rate in main: 40.48% (Passed 25 times, Failed 17 times)

Stack Traces | 0.777s run time
.../integrations/aws_lambda/test_aws.py:513: in test_non_dict_event
    (
E   ValueError: not enough values to unpack (expected 2, got 1)

To view more test analytics, go to the Test Analytics Dashboard
Got feedback? Let us know on Github

@antonpirker antonpirker deleted the antonpirker/test branch March 28, 2025 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants