Skip to content

Migrate DDB integration tests away from LocalStack #2872

Description

@davsclaus

The DDB integration tests (tests/camel-kamelets-itest/src/test/resources/aws/ddb/) have been disabled because the UpdateItem and DeleteItem operations fail against LocalStack.

Unit tests in camel-aws2-ddb confirm the transformer + producer pipeline works correctly (PutItem, UpdateItem, DeleteItem all produce correct DDB requests). The failures appear to be LocalStack-specific — likely the deprecated attributeUpdates() API used by UpdateItemCommand not being properly supported by LocalStack.

The tests have been disabled by renaming *.citrus.it.yaml*.citrus.it.yaml.disabled.

TODO

  • Migrate these tests to use the new LocalStack alternative (e.g. Floki or equivalent)
  • Fix the delete-item test assertion (currently expects item to still exist after delete)
  • Re-enable all 4 tests: put-item, update-item, delete-item, source

Affected files

  • aws-ddb-sink-put-item.citrus.it.yaml.disabled
  • aws-ddb-sink-update-item.citrus.it.yaml.disabled
  • aws-ddb-sink-delete-item.citrus.it.yaml.disabled
  • aws-ddb-source.citrus.it.yaml.disabled

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions