Skip to content

Commit

Permalink
Test --timeout with longer delay
Browse files Browse the repository at this point in the history
test_timeout_exit_status fails on Python 2.7
https://travis-ci.org/jakubroztocil/httpie/jobs/390072675#L325
  • Loading branch information
jkbrzt committed Jul 11, 2018
1 parent 749b1e2 commit a50660c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_exit_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def test_error_response_exits_0_without_check_status(httpbin):

def test_timeout_exit_status(httpbin):

r = http('--timeout=0.01', 'GET', httpbin.url + '/delay/0.02',
r = http('--timeout=0.01', 'GET', httpbin.url + '/delay/0.5',
error_exit_ok=True)
assert r.exit_status == ExitStatus.ERROR_TIMEOUT

Expand Down

0 comments on commit a50660c

Please sign in to comment.