Skip to content

Commit

Permalink
Update localstack (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
kibertoad authored Mar 12, 2024
1 parent 22a8225 commit bc99a2d
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
- rabbit_data:/var/lib/rabbitmq

localstack:
image: localstack/localstack:3.0.2
image: localstack/localstack:3.2.0
network_mode: bridge
hostname: localstack
ports:
Expand Down
2 changes: 1 addition & 1 deletion packages/sns/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
localstack:
image: localstack/localstack:3.0.2
image: localstack/localstack:3.2.0
network_mode: bridge
hostname: localstack
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ describe('SNS PermissionsConsumerMultiSchema', () => {
updateAttributesIfExists: true,
},
deletionConfig: {
deleteIfExists: false,
deleteIfExists: true,
},
removeHandlerOverride: async (message, _context, prehandlerOutputs) => {
expect(prehandlerOutputs.prehandlerOutput.prehandlerCount).toBe(1)
Expand Down Expand Up @@ -255,7 +255,7 @@ describe('SNS PermissionsConsumerMultiSchema', () => {
updateAttributesIfExists: true,
},
deletionConfig: {
deleteIfExists: false,
deleteIfExists: true,
},
removeHandlerOverride: async (message, _context, prehandlerOutputs) => {
expect(prehandlerOutputs.prehandlerOutput.prehandlerCount).toBe(11)
Expand Down
2 changes: 1 addition & 1 deletion packages/sqs/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
localstack:
image: localstack/localstack:3.0.2
image: localstack/localstack:3.2.0
network_mode: bridge
hostname: localstack
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe('SqsPermissionsConsumerMonoSchema', () => {
QueueUrl: diContainer.cradle.permissionPublisher.queueUrl,
})
const reply = await sqsClient.send(command)
expect(reply.Messages!.length).toBe(0)
expect(reply.Messages).toBeUndefined()

const fakeErrorResolver = diContainer.cradle
.consumerErrorResolver as FakeConsumerErrorResolver
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ describe('SqsPermissionsConsumerMonoSchema', () => {
QueueUrl: diContainer.cradle.permissionPublisher.queueUrl,
})
const reply = await sqsClient.send(command)
expect(reply.Messages!.length).toBe(0)
expect(reply.Messages).toBeUndefined()

const fakeErrorResolver = diContainer.cradle
.consumerErrorResolver as FakeConsumerErrorResolver
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ describe('SqsPermissionsConsumerMultiSchema', () => {
QueueUrl: publisher.queueUrl,
})
const reply = await sqsClient.send(command)
expect(reply.Messages!.length).toBe(0)
expect(reply.Messages).toBeUndefined()

const fakeErrorResolver = diContainer.cradle
.consumerErrorResolver as FakeConsumerErrorResolver
Expand Down

0 comments on commit bc99a2d

Please sign in to comment.