diff options
author | Loïc Hoguin <[email protected]> | 2022-10-11 18:31:12 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2022-10-11 18:31:12 +0200 |
commit | a4425a1d7db2d9e35f246aa078c324988ea395f0 (patch) | |
tree | e6afc44a9f84de9e64dda75f589c7fda303825a6 /test/sse_SUITE.erl | |
parent | 2e3f2c1474350199ec1f9379c2dbe60627493962 (diff) | |
download | gun-a4425a1d7db2d9e35f246aa078c324988ea395f0.tar.gz gun-a4425a1d7db2d9e35f246aa078c324988ea395f0.tar.bz2 gun-a4425a1d7db2d9e35f246aa078c324988ea395f0.zip |
Update tests for OTP-25+
Diffstat (limited to 'test/sse_SUITE.erl')
-rw-r--r-- | test/sse_SUITE.erl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/sse_SUITE.erl b/test/sse_SUITE.erl index 93b1acb..7d8d28f 100644 --- a/test/sse_SUITE.erl +++ b/test/sse_SUITE.erl @@ -41,7 +41,7 @@ init_routes() -> [ http_clock(Config) -> {ok, Pid} = gun:open("localhost", config(port, Config), #{ transport => tls, - tls_opts => [{verify, verify_none}], + tls_opts => [{verify, verify_none}, {versions, ['tlsv1.2']}], protocols => [http], http_opts => #{content_handlers => [gun_sse_h, gun_data_h]} }), @@ -51,7 +51,7 @@ http_clock(Config) -> http2_clock(Config) -> {ok, Pid} = gun:open("localhost", config(port, Config), #{ transport => tls, - tls_opts => [{verify, verify_none}], + tls_opts => [{verify, verify_none}, {versions, ['tlsv1.2']}], protocols => [http2], http2_opts => #{content_handlers => [gun_sse_h, gun_data_h]} }), @@ -61,7 +61,7 @@ http2_clock(Config) -> http_clock_close(Config) -> {ok, Pid} = gun:open("localhost", config(port, Config), #{ transport => tls, - tls_opts => [{verify, verify_none}], + tls_opts => [{verify, verify_none}, {versions, ['tlsv1.2']}], protocols => [http], http_opts => #{ content_handlers => [gun_sse_h, gun_data_h], @@ -107,7 +107,7 @@ event_loop(Pid, Ref, N) -> lone_id(Config) -> {ok, Pid} = gun:open("localhost", config(port, Config), #{ transport => tls, - tls_opts => [{verify, verify_none}], + tls_opts => [{verify, verify_none}, {versions, ['tlsv1.2']}], protocols => [http], http_opts => #{content_handlers => [gun_sse_h, gun_data_h]} }), @@ -135,7 +135,7 @@ lone_id(Config) -> with_mime_param(Config) -> {ok, Pid} = gun:open("localhost", config(port, Config), #{ transport => tls, - tls_opts => [{verify, verify_none}], + tls_opts => [{verify, verify_none}, {versions, ['tlsv1.2']}], protocols => [http], http_opts => #{content_handlers => [gun_sse_h, gun_data_h]} }), |