Skip to content

Commit f2b9275

Browse files
committed
Run hack even on lower versions
1 parent 85348dc commit f2b9275

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/mint/http2/integration_test.exs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,9 @@ defmodule HTTP2.IntegrationTest do
3737

3838
assert {:ok, %HTTP2{} = conn, ref} = HTTP2.request(conn, "GET", "/httpbin/", [], nil)
3939

40-
# For some reason, on OTP 26+ we get an SSL message sneaking in here. Instead of going
40+
# For some reason, we get an SSL message sneaking in here. Instead of going
4141
# crazy trying to debug it, for now let's just swallow it.
42-
if System.otp_release() >= "26" do
43-
assert_receive {:ssl, _socket, _data}, 1000
44-
end
42+
assert_receive {:ssl, _socket, _data}, 1000
4543

4644
assert {:ok, %HTTP2{} = conn, responses} = receive_stream(conn)
4745

0 commit comments

Comments
 (0)