From d9cb632ea87a86a38814156a3958edca5901eea3 Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Wed, 22 Nov 2023 17:35:47 +0000 Subject: [PATCH] Upgrade localstack (#1604) * Upgrade localstack * Fix the dynamodb integration tests The new localstack version emulates AWS better, returning a consumed capacity only when the request asks for it. * Update the Sts integration test for the new localstack return values * Update the route53 expectation for the listing endpoint In the new localstack version, creating a zone automatically creates the NS and SOA records for that zone, emulating what actually happens on AWS. * Switch to 3.0.0 * Skip bad test for now --------- Co-authored-by: Christophe Coevoet --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 23894f0..6a8220d 100644 --- a/Makefile +++ b/Makefile @@ -4,8 +4,8 @@ initialize: start-docker start-docker: docker start async_aws_localstack && exit 0 || \ docker start async_aws_localstack-events && exit 0 || \ - docker pull localstack/localstack:0.14.2 && \ - docker run -d -p 4571:4566 -e SERVICES=events -v /var/run/docker.sock:/var/run/docker.sock --name async_aws_localstack-events localstack/localstack:0.14.2 && \ + docker pull localstack/localstack:3.0.0 && \ + docker run -d -p 4571:4566 -e SERVICES=events -v /var/run/docker.sock:/var/run/docker.sock --name async_aws_localstack-events localstack/localstack:3.0.0 && \ docker run --rm --link async_aws_localstack-events:localstack martin/wait -c localstack:4566 test: initialize