Commit 7e367b69 authored by Tiago's avatar Tiago
Browse files

temporarily patch fiber scheduler tests

an issue is happening where an openssl connection returns
:wait_readable/writable on connect but then returns nil when selected
on, as if it were being closed, and this affects the whole tree.

increased the number of retries so that at least they complete
eventually despite the multiple connect timeout errors.
parent b6d72cd5
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ class Bug_1_5_1_Test < Minitest::Test
  end

  def test_persistent_connection_http1_should_use_buffered_requests_to_switch_context_too
    http = HTTPX.plugin(:persistent, ssl: { alpn_protocols: %w[http/1.1] })
    http = HTTPX.plugin(:persistent, max_retries: 10, ssl: { alpn_protocols: %w[http/1.1] })
    url = build_uri("/get")

    with_test_fiber_scheduler do