Skip to content

Conversation

@dominikschubert
Copy link
Member

@dominikschubert dominikschubert commented Dec 19, 2023

Motivation

We've started seeing repeatable failures in CI due to a snapshot mismatch for tests/aws/services/cloudformation/resources/test_lambda.py::TestCfnLambdaIntegrations::test_cfn_lambda_dynamodb_source.

=================================== FAILURES ===================================
__________ TestCfnLambdaIntegrations.test_cfn_lambda_dynamodb_source ___________
>> match key: describe_table_result
	(+)  /Table/DeletionProtectionEnabled ( False )

My investigation pointed towards a new update of DynamoDB local as the culprit (AWS recently released a 2.2.0 version with support for Table delete protection)

Was running into some issues with the initial PR in #9909

I still want to tackle the problem with a more long-term solution to avoid these unpredictable dependency update but for now this should unblock the pipeline.

Changes

  • Update snapshot for tests/aws/services/cloudformation/resources/test_lambda.py::TestCfnLambdaIntegrations::test_cfn_lambda_dynamodb_source

Copy link
Contributor

@simonrw simonrw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a fair change for now. I appreciate you trying to resolve the problem in a more complete way, but with this change we can implement the "proper" solution in our own time.

@github-actions
Copy link

LocalStack Community integration with Pro

       2 files         2 suites   1h 11m 10s ⏱️
2 410 tests 2 182 ✔️ 228 💤 0
2 411 runs  2 182 ✔️ 229 💤 0

Results for commit 589f546.

log_listener=_log_listener,
auto_restart=True,
name="dynamodb-local",
env_vars={"DDB_LOCAL_TELEMETRY": "0"},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good one 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver: patch Non-breaking changes which can be included in patch releases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants