spec/support/basquiat.yml in basquiat-1.5.0 vs spec/support/basquiat.yml in basquiat-1.5.1
- old
+ new
@@ -1,6 +1,13 @@
-test:
+failure_options: &failure_options
+ failover:
+ default_timeout: 1
+ read_timeout: 5
+ write_timeout: 3
+ max_retries: 3
+
+test: &test
exchange_name: 'my.test_exchange'
queue_name: 'my.nice_queue'
default_adapter: Basquiat::Adapters::Test
adapter_options:
connection:
@@ -8,9 +15,10 @@
- <%= ENV.fetch('BASQUIAT_RABBITMQ_1_PORT_5672_TCP_ADDR') { 'localhost' } %>
port: <%= ENV.fetch('BASQUIAT_RABBITMQ_1_PORT_5672_TCP_PORT') { 5672 } %>
auth:
user: 'guest'
password: 'guest'
+ <<: *failure_options
consumer:
prefetch: 1
manual_ack: true
requeue:
enabled: true