From a4425a1d7db2d9e35f246aa078c324988ea395f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 11 Oct 2022 18:31:12 +0200 Subject: Update tests for OTP-25+ --- test/sse_SUITE.erl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/sse_SUITE.erl') 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]} }), -- cgit v1.2.3