From 7bdd710849a35c12afe3f91bc5df4006db4c0282 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sun, 6 Mar 2016 17:48:35 +0100 Subject: Completely remove SPDY --- test/cowboy_test.erl | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) (limited to 'test/cowboy_test.erl') diff --git a/test/cowboy_test.erl b/test/cowboy_test.erl index e3aeb97..07faf8e 100644 --- a/test/cowboy_test.erl +++ b/test/cowboy_test.erl @@ -30,40 +30,28 @@ init_https(Ref, ProtoOpts, Config) -> Port = ranch:get_port(Ref), [{type, ssl}, {protocol, http}, {port, Port}, {opts, Opts}|Config]. -init_spdy(Ref, ProtoOpts, Config) -> - Opts = ct_helper:get_certs_from_ets(), - {ok, _} = cowboy:start_tls(Ref, 100, Opts ++ [{port, 0}], ProtoOpts), - Port = ranch:get_port(Ref), - [{type, ssl}, {protocol, spdy}, {port, Port}, {opts, Opts}|Config]. - %% Common group of listeners used by most suites. common_all() -> [ {group, http}, {group, https}, - {group, spdy}, {group, http_compress}, - {group, https_compress}, - {group, spdy_compress} + {group, https_compress} ]. common_groups(Tests) -> [ {http, [parallel], Tests}, {https, [parallel], Tests}, - {spdy, [parallel], Tests}, {http_compress, [parallel], Tests}, - {https_compress, [parallel], Tests}, - {spdy_compress, [parallel], Tests} + {https_compress, [parallel], Tests} ]. init_common_groups(Name = http, Config, Mod) -> init_http(Name, #{env => #{dispatch => Mod:init_dispatch(Config)}}, Config); init_common_groups(Name = https, Config, Mod) -> init_https(Name, #{env => #{dispatch => Mod:init_dispatch(Config)}}, Config); -init_common_groups(Name = spdy, Config, Mod) -> - init_https(Name, #{env => #{dispatch => Mod:init_dispatch(Config)}}, Config); init_common_groups(Name = http_compress, Config, Mod) -> init_http(Name, #{ env => #{dispatch => Mod:init_dispatch(Config)}, @@ -73,11 +61,6 @@ init_common_groups(Name = https_compress, Config, Mod) -> init_https(Name, #{ env => #{dispatch => Mod:init_dispatch(Config)}, compress => true - }, Config); -init_common_groups(Name = spdy_compress, Config, Mod) -> - init_spdy(Name, #{ - env => #{dispatch => Mod:init_dispatch(Config)}, - compress => true }, Config). %% Support functions for testing using Gun. -- cgit v1.2.3