Skip to content

Conversation

@vszakats
Copy link
Member

Cherry-picked from #19626

@vszakats
Copy link
Member Author

pytest H3 flaky failure with wolfSSL:

____________________ TestBasic.test_01_20_method_space[h3] _____________________
[gw0] linux -- Python 3.12.3 /home/runner/venv/bin/python3

self = <test_01_basic.TestBasic object at 0x7f17e5deeab0>
env = <testenv.env.Env object at 0x7f17e8e8a7e0>, proto = 'h3'
httpd = <testenv.httpd.Httpd object at 0x7f17e5f2bfe0>

    @pytest.mark.skipif(condition=not Env.curl_is_verbose(), reason="needs verbosecurl")
    @pytest.mark.parametrize("proto", Env.http_protos())
    def test_01_20_method_space(self, env: Env, proto, httpd):
        curl = CurlClient(env=env)
        method = 'IN SANE'
        url = f'https://{env.authority_for(env.domain1, proto)}/curltest/echo'
        r = curl.http_download(urls=[url], alpn_proto=proto, with_stats=True,
                               extra_args=['-X', method])
>       assert len(r.stats) == 1
E       AssertionError: assert 0 == 1
E        +  where 0 = len([])

https://github.com/curl/curl/actions/runs/19745898592/job/56580038117

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant