pyro-api icon indicating copy to clipboard operation
pyro-api copied to clipboard

Tests failing often due httpbin.org timeout

Open blenzi opened this issue 2 years ago • 1 comments

Many pytest jobs are failing with

    def test_post_request():
        response = post_request("https://httpbin.org/post")
>       assert response.status_code == 200
E       assert 504 == 200
E        +  where 504 = <Response [504]>.status_code

Is there an alternative site, could the timeout be increased or maybe this is tested indirectly elsewhere? @frgfm

blenzi avatar Aug 04 '23 13:08 blenzi

The easy fix is to increase the timeout, by passing the number of seconds to post_request. But it's already at 10sec, so it's strange that the request doesn't go through :thinking:

frgfm avatar Oct 08 '23 15:10 frgfm

No longer apply since #322

frgfm avatar Aug 24 '24 09:08 frgfm