diff options
author | Loïc Hoguin <[email protected]> | 2022-09-12 14:24:19 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2022-09-12 14:24:19 +0200 |
commit | 9e6d0f68afc30037ce3e6d10551a0bd7a9b1236a (patch) | |
tree | dedaf5bf7748149cd69c92f1478baa09ee2702b5 /test/sse_SUITE.erl | |
parent | 9afe0275298860a702a8856f6ffd5ca8dec962f2 (diff) | |
download | gun-9e6d0f68afc30037ce3e6d10551a0bd7a9b1236a.tar.gz gun-9e6d0f68afc30037ce3e6d10551a0bd7a9b1236a.tar.bz2 gun-9e6d0f68afc30037ce3e6d10551a0bd7a9b1236a.zip |
Silence certs related ssl warnings in test suites
Diffstat (limited to 'test/sse_SUITE.erl')
-rw-r--r-- | test/sse_SUITE.erl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/sse_SUITE.erl b/test/sse_SUITE.erl index 1e68914..93b1acb 100644 --- a/test/sse_SUITE.erl +++ b/test/sse_SUITE.erl @@ -41,6 +41,7 @@ init_routes() -> [ http_clock(Config) -> {ok, Pid} = gun:open("localhost", config(port, Config), #{ transport => tls, + tls_opts => [{verify, verify_none}], protocols => [http], http_opts => #{content_handlers => [gun_sse_h, gun_data_h]} }), @@ -50,6 +51,7 @@ http_clock(Config) -> http2_clock(Config) -> {ok, Pid} = gun:open("localhost", config(port, Config), #{ transport => tls, + tls_opts => [{verify, verify_none}], protocols => [http2], http2_opts => #{content_handlers => [gun_sse_h, gun_data_h]} }), @@ -59,6 +61,7 @@ http2_clock(Config) -> http_clock_close(Config) -> {ok, Pid} = gun:open("localhost", config(port, Config), #{ transport => tls, + tls_opts => [{verify, verify_none}], protocols => [http], http_opts => #{ content_handlers => [gun_sse_h, gun_data_h], @@ -104,6 +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}], protocols => [http], http_opts => #{content_handlers => [gun_sse_h, gun_data_h]} }), @@ -131,6 +135,7 @@ lone_id(Config) -> with_mime_param(Config) -> {ok, Pid} = gun:open("localhost", config(port, Config), #{ transport => tls, + tls_opts => [{verify, verify_none}], protocols => [http], http_opts => #{content_handlers => [gun_sse_h, gun_data_h]} }), |