Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix AWS Lambda tests #3770

Merged
merged 1 commit into from
Nov 13, 2024
Merged

Fix AWS Lambda tests #3770

merged 1 commit into from
Nov 13, 2024

Conversation

antonpirker
Copy link
Member

Our AWS Lambda tests rely on outputting our events as JSON to stdout and parsing this output. AWS Lambda limits the amount of stdout it returns.

So by reducing the size of the events we can fix the tests, that where broken by printing to much data to stdout so the output is truncated and can not be parsed into actual JSON structures again.

@antonpirker antonpirker enabled auto-merge (squash) November 13, 2024 12:39
Copy link

codecov bot commented Nov 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.33%. Comparing base (417be9f) to head (1d291dc).
Report is 1 commits behind head on master.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3770      +/-   ##
==========================================
+ Coverage   84.26%   84.33%   +0.06%     
==========================================
  Files         136      136              
  Lines       14418    14418              
  Branches     2429     2429              
==========================================
+ Hits        12150    12159       +9     
+ Misses       1516     1507       -9     
  Partials      752      752              

see 4 files with indirect coverage changes

@antonpirker antonpirker merged commit c2361a3 into master Nov 13, 2024
136 checks passed
@antonpirker antonpirker deleted the antonpirker/fix-aws-lambda-tests branch November 13, 2024 12:50
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