Skip to content

Commit

Permalink
Make the test pass
Browse files Browse the repository at this point in the history
  • Loading branch information
lvh committed Feb 13, 2015
1 parent 628715d commit 4b4acb0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions otter/worker/_rcv3.py
Expand Up @@ -29,9 +29,10 @@ def _generic_rcv3_request(step_class, request_bag, lb_id, server_id):
"""
effect = step_class(lb_node_pairs=[(lb_id, server_id)])._bare_effect()

svc_req = effect.intent
codes = set(svc_req.success_pred.codes) - set([409])
svc_req.success_pred = has_code(*codes)
if step_class is BulkAddToRCv3:
svc_req = effect.intent
codes = set(svc_req.success_pred.codes) - set([409])
svc_req.success_pred = has_code(*codes)

# Unfortunate that we have to TenantScope here, but here's where we're
# performing.
Expand Down

0 comments on commit 4b4acb0

Please sign in to comment.