8000 Maintenance: Shorten feedback loop in E2E tests upon function invocation errors · Issue #2911 · aws-powertools/powertools-lambda-python · GitHub
[go: up one dir, main page]

Skip to content
Maintenance: Shorten feedback loop in E2E tests upon function invocation errors #2911
Closed
@heitorlessa

Description

@heitorlessa

Why is this needed?

Last night we had a regression in the new Metrics provider (#2909) and debugging took longer than necessary since Logs faced eventual consistency errors.

Our E2E utils get_lambda_response doesn't fail fast if the invoked function had an error it couldn't handle, since it's synchronous.

image

Which area does this relate to?

No response

Solution

Add a new option to get_lambda_response to fail fast by default unless required to ignore an error (e.g., testing race conditions, timeouts, etc.).

Acknowledgment

Metadata

Metadata

Assignees

No one assigned

    Labels

    internalMaintenance changestriagePending triage from maintainers

    Type

    No type

    Projects

    Status

    Shipped

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0