Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
guille-sage authored and florianpilz committed Jan 2, 2024
1 parent d40ef02 commit 1446038
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 @@ -30,12 +30,10 @@ jobs:
--health-timeout 5s
--health-retries 10
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 @@ -51,12 +51,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"
Expand Down
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 1446038

Please sign in to comment.