Skip to content

Commit

Permalink
Fix behave retry logic
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-helmich committed Jan 5, 2018
1 parent 7b6e073 commit 85131e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/steps/steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def step_impl(context, val, metric):
response = requests.get('http://localhost:4040/metrics')
text = response.text
break
except request.ConnectionError:
except requests.ConnectionError:
continue

lines = [l.strip("\n") for l in text.split("\n")]
Expand Down

0 comments on commit 85131e7

Please sign in to comment.