diff options
author | Loïc Hoguin <essen@ninenines.eu> | 2018-05-16 10:50:09 +0200 |
---|---|---|
committer | Loïc Hoguin <essen@ninenines.eu> | 2018-05-16 10:50:09 +0200 |
commit | 204fa12df877c3657e0a6e3322d1453f83d09202 (patch) | |
tree | 05dba53d96ea055d36ade0f898dc24549595f817 | |
parent | d732e74dd589ef3d4271198e22aabd976fb3e3c4 (diff) | |
download | cowboy-204fa12df877c3657e0a6e3322d1453f83d09202.tar.gz cowboy-204fa12df877c3657e0a6e3322d1453f83d09202.tar.bz2 cowboy-204fa12df877c3657e0a6e3322d1453f83d09202.zip |
Run h2spec over TCP instead of TLS
-rw-r--r-- | test/h2spec_SUITE.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/h2spec_SUITE.erl b/test/h2spec_SUITE.erl index aff4f2b..cd68a48 100644 --- a/test/h2spec_SUITE.erl +++ b/test/h2spec_SUITE.erl @@ -29,7 +29,7 @@ init_per_suite(Config) -> false -> skip; _ -> - cowboy_test:init_http2(h2spec, #{ + cowboy_test:init_http(h2spec, #{ env => #{dispatch => init_dispatch()}, max_concurrent_streams => 100 }, Config) @@ -66,7 +66,7 @@ start_port(Config, Pid) -> H2spec = os:getenv("H2SPEC"), ListenPort = config(port, Config), Port = open_port( - {spawn, H2spec ++ " -S -t -k -p " + {spawn, H2spec ++ " -S -p " ++ integer_to_list(ListenPort)}, [{line, 10000}, {cd, config(priv_dir, Config)}, binary, exit_status]), receive_infinity(Port, Pid, []). |