Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
guille-sage committed Dec 19, 2023
1 parent 9e986fd commit 9f4de5a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 16 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,10 @@ jobs:
ports:
- 5672:5672
localstack:
# changes to multi region support after this version break tests
image: localstack/localstack:0.12.16
image: localstack/localstack:latest
env:
SERVICES: sqs,sns
HOSTNAME: localhost
HOSTNAME_EXTERNAL: localhost
SQS_ENDPOINT_STRATEGY: off
LOCALSTACK_HOST: localhost
ports:
- "8085:8080"
- "4566:4566"
Expand Down
7 changes: 3 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,11 @@ services:

localstack:
# changes to multi region support after this version break tests
image: localstack/localstack:0.12.16
image: localstack/localstack:latest
container_name: localstack
environment:
- SERVICES=sqs,sns
- HOSTNAME=localstack
- HOSTNAME_EXTERNAL=localstack
- SQS_ENDPOINT_STRATEGY=off
- LOCALSTACK_HOST=localstack
ports:
- "8085:8080"
- "4566:4566"
6 changes: 3 additions & 3 deletions eventq.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'shoulda-matchers'
spec.add_development_dependency 'simplecov', '< 0.18.0'

spec.add_dependency 'aws-sdk-sqs', '~> 1.65.0'
spec.add_dependency 'aws-sdk-sns', '~> 1.68.0'
spec.add_dependency 'aws-sdk-core', '3.187.0'
spec.add_dependency 'aws-sdk-core'
spec.add_dependency 'aws-sdk-sns'
spec.add_dependency 'aws-sdk-sqs'
spec.add_dependency 'bunny'
spec.add_dependency 'class_kit'
spec.add_dependency 'concurrent-ruby'
Expand Down
8 changes: 4 additions & 4 deletions spec/eventq_aws/integration/aws_queue_worker_v2_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -313,19 +313,19 @@

expect(retry_attempt_count).to eq(1)

sleep(1)
sleep(2)

expect(retry_attempt_count).to eq(2)

sleep(1)
sleep(2)

expect(retry_attempt_count).to eq(3)

sleep(1)
sleep(2)

expect(retry_attempt_count).to eq(4)

sleep(1)
sleep(2)

expect(retry_attempt_count).to eq(5)

Expand Down

0 comments on commit 9f4de5a

Please sign in to comment.