Skip to content

Bug: E2E tests are currently not working #1860

Closed
@rubenfonseca

Description

@rubenfonseca

Expected Behaviour

E2E tests are supposed to pass on every commit on the develop branch.

Current Behaviour

E2E tests are failing for a long time.

This is being caused by having more than one test file for some of the utilities. This causes problems as pytest tries to run the same utility at the same time, causing CDK to clash and erroring out.

Code snippet

`make e2e-test`

Possible Solution

There are two possible solutions:

  • make sure each directory only has one test file:

    • PROS: more parallelism
    • CONS: sharing infrastructure between the same utility becomes harder, possibly leading to dupplication
  • change e2e infrastructure to distribute tests per directory instead of per file

Steps to Reproduce

make e2e-test is currently failing on develop

AWS Lambda Powertools for Python version

latest

AWS Lambda function runtime

3.9

Packaging format used

PyPi

Debugging logs

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions