apache/pekko-persistence-dynamodb

Fix DynamoDB Integration Tests

Closed this issue · 5 comments

It seems that we were using Akka's DynamoDB account when running integration tests and the security token that we inherited from them isn't valid, see https://github.com/apache/incubator-pekko-persistence-dynamodb/actions/runs/5539541172/jobs/10110609080?pr=58.

We should contact INFRA to see if they can setup a dynamodb account that we can use for integration testing or see if there is an appropriate container.

@nvollmar @spangaer I think you may be able to help out here since you use this module yourself, at least with the docker container part (if you find an appropriate docker container then I would recommend using https://github.com/testcontainers/testcontainers-scala to set it up)

@mdedetrich We're using persistence Cassandra and JDBC. I can have a look but not sure if I can find a timely fix.

@nvollmar Don't worry about it too much then, I misremembered.

@mdedetrich any idea where the AWS credentials are set up for the tests in the CI run? I can't find anything obvious.

I thought a local dynamodb instance was being used in the CI run - https://github.com/apache/incubator-pekko-persistence-dynamodb/blob/main/docker-compose.yml

The CI runs were working and I just didn't try too hard to work out how the CI builds were wired together.

#60 merged