@Fokko @andrewmchen I just changed the code so that we test for the HTTP status 
code instead of relying on parsing the response content. The hook's code is 
significantly simpler now too. I refactored a little bit the tests, and now it 
is possible to test that no retry occurs for codes < 500, as well as ensuring 
that once the request succeeds, the retry method simply returns the response.

[ Full content available at: 
https://github.com/apache/incubator-airflow/pull/3570 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to