Skip to content

Remove log groups in the lambda system test#25626

Merged
potiuk merged 1 commit intoapache:mainfrom
aws-mwaa:vincbeck/system-tests/lambda-logs
Aug 9, 2022
Merged

Remove log groups in the lambda system test#25626
potiuk merged 1 commit intoapache:mainfrom
aws-mwaa:vincbeck/system-tests/lambda-logs

Conversation

@vincbeck
Copy link
Contributor

@vincbeck vincbeck commented Aug 9, 2022

When a Lambda function gets created, a CloudWatch log group gets created as well to contain the logs of this function. When a Lambda function gets removed, the log group is not removed ... Adding logs removal to the lambda system test.

Also, the log group gets created seconds (around 10) after the lambda is created, so I had to add some retry mechanism in order to handle that

@potiuk potiuk merged commit ed9bab0 into apache:main Aug 9, 2022
@vincbeck vincbeck deleted the vincbeck/system-tests/lambda-logs branch August 16, 2022 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants