aboutsummaryrefslogtreecommitdiffstats
path: root/test/sse_SUITE.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/sse_SUITE.erl')
-rw-r--r--test/sse_SUITE.erl10
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]}
}),