@@ -27,7 +27,7 @@ def do_work():
2727 do_work .send ()
2828
2929 # Then join on the queue
30- stub_broker .join (do_work .queue_name )
30+ stub_broker .join (do_work .queue_name , fail_fast = False )
3131 stub_worker .join ()
3232
3333 # I expect successes
@@ -48,7 +48,7 @@ def do_work():
4848 do_work .send ()
4949
5050 # And join on the queue
51- stub_broker .join (do_work .queue_name )
51+ stub_broker .join (do_work .queue_name , fail_fast = False )
5252 stub_worker .join ()
5353
5454 # Then I expect 4 attempts to have occurred
@@ -69,7 +69,7 @@ def do_work():
6969 do_work .send ()
7070
7171 # And join on the queue
72- stub_broker .join (do_work .queue_name )
72+ stub_broker .join (do_work .queue_name , fail_fast = False )
7373 stub_worker .join ()
7474
7575 # Then I expect at least one attempt to have occurred
@@ -88,7 +88,7 @@ def do_work():
8888 do_work .send ()
8989
9090 # And join on the queue
91- stub_broker .join (do_work .queue_name )
91+ stub_broker .join (do_work .queue_name , fail_fast = False )
9292 stub_worker .join ()
9393
9494 # Then no error should be logged
@@ -113,7 +113,7 @@ def do_work():
113113 do_work .send ()
114114
115115 # And join on the queue
116- stub_broker .join (do_work .queue_name )
116+ stub_broker .join (do_work .queue_name , fail_fast = False )
117117 stub_worker .join ()
118118
119119 # Then the actor should have been retried after 100ms
@@ -136,7 +136,7 @@ def do_work():
136136 do_work .send ()
137137
138138 # And join on the queue
139- stub_broker .join (do_work .queue_name )
139+ stub_broker .join (do_work .queue_name , fail_fast = False )
140140 stub_worker .join ()
141141
142142 # Then the actor should have retried 10 times without delay
@@ -160,7 +160,7 @@ def do_work():
160160 do_work .send ()
161161
162162 # And join on the queue
163- stub_broker .join (do_work .queue_name )
163+ stub_broker .join (do_work .queue_name , fail_fast = False )
164164 stub_worker .join ()
165165
166166 # Then the actor should have retried 10 times without delay
@@ -184,7 +184,7 @@ def do_work():
184184 do_work .send_with_options (min_backoff = 0 )
185185
186186 # And join on the queue
187- stub_broker .join (do_work .queue_name )
187+ stub_broker .join (do_work .queue_name , fail_fast = False )
188188 stub_worker .join ()
189189
190190 # Then the actor should have retried 10 times without delay
@@ -208,7 +208,7 @@ def do_work():
208208 do_work .send_with_options (max_backoff = 0 )
209209
210210 # And join on the queue
211- stub_broker .join (do_work .queue_name )
211+ stub_broker .join (do_work .queue_name , fail_fast = False )
212212 stub_worker .join ()
213213
214214 # Then the actor should have retried 10 times without delay
@@ -231,7 +231,7 @@ def do_work():
231231 do_work .send_with_options (max_retries = max_retries_message_option , min_backoff = 50 , max_backoff = 500 )
232232
233233 # And join on the queue
234- stub_broker .join (do_work .queue_name )
234+ stub_broker .join (do_work .queue_name , fail_fast = False )
235235 stub_worker .join ()
236236
237237 # Then I expect it to be retried as specified in the message options
@@ -257,7 +257,7 @@ def raises_errors(raise_runtime_error):
257257 raises_errors .send (False )
258258
259259 # And wait for it
260- stub_broker .join (raises_errors .queue_name )
260+ stub_broker .join (raises_errors .queue_name , fail_fast = False )
261261 stub_worker .join ()
262262
263263 # Then I expect the actor not to retry
@@ -268,7 +268,7 @@ def raises_errors(raise_runtime_error):
268268 raises_errors .send (True )
269269
270270 # And wait for it
271- stub_broker .join (raises_errors .queue_name )
271+ stub_broker .join (raises_errors .queue_name , fail_fast = False )
272272 stub_worker .join ()
273273
274274 # Then I expect the actor to retry 3 times
@@ -312,7 +312,7 @@ def do_work():
312312 do_work .send ()
313313
314314 # And join on the queue
315- stub_broker .join (do_work .queue_name )
315+ stub_broker .join (do_work .queue_name , fail_fast = False )
316316 stub_worker .join ()
317317
318318 # Then no errors and or warnings should be logged
@@ -350,7 +350,7 @@ def do_work():
350350 message = do_work .send_with_options (delay = 100 )
351351
352352 # When I join on the queue and run the actor
353- stub_broker .join (do_work .queue_name )
353+ stub_broker .join (do_work .queue_name , fail_fast = False )
354354 stub_worker .join ()
355355
356356 # Then I expect correct number of requeue timestamps recorded
@@ -380,8 +380,8 @@ def do_work():
380380
381381 do_work .send ()
382382
383- stub_broker .join (do_work .queue_name )
384- stub_broker .join (handle_retries_exhausted .queue_name )
383+ stub_broker .join (do_work .queue_name , fail_fast = False )
384+ stub_broker .join (handle_retries_exhausted .queue_name , fail_fast = False )
385385 stub_worker .join ()
386386
387387 # We should have the initial attempt + max_retries
@@ -405,8 +405,8 @@ def do_work():
405405
406406 do_work .send ()
407407
408- stub_broker .join (do_work .queue_name )
409- stub_broker .join (handle_retries_exhausted .queue_name )
408+ stub_broker .join (do_work .queue_name , fail_fast = False )
409+ stub_broker .join (handle_retries_exhausted .queue_name , fail_fast = False )
410410 stub_worker .join ()
411411
412412 # No retry should be required
@@ -432,8 +432,8 @@ def do_work():
432432
433433 do_work .send ()
434434
435- stub_broker .join (do_work .queue_name )
436- stub_broker .join (handle_retries_exhausted .queue_name )
435+ stub_broker .join (do_work .queue_name , fail_fast = False )
436+ stub_broker .join (handle_retries_exhausted .queue_name , fail_fast = False )
437437 stub_worker .join ()
438438
439439 # The first retry should have succeeded
0 commit comments