diff options
author | Loïc Hoguin <[email protected]> | 2019-10-07 12:18:03 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-10-07 12:18:03 +0200 |
commit | 5cdf78fd570a5239a83e8dce3705e53a08c47f7e (patch) | |
tree | 6e7205d1bc1414f881781642ed298b7f7c17164c /test | |
parent | fad0ac8fb68833e8b7b0895eb1b96bb068961917 (diff) | |
download | cowboy-5cdf78fd570a5239a83e8dce3705e53a08c47f7e.tar.gz cowboy-5cdf78fd570a5239a83e8dce3705e53a08c47f7e.tar.bz2 cowboy-5cdf78fd570a5239a83e8dce3705e53a08c47f7e.zip |
Fix an intermittent test issue
Diffstat (limited to 'test')
-rw-r--r-- | test/security_SUITE.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/security_SUITE.erl b/test/security_SUITE.erl index 684b78a..5aeded9 100644 --- a/test/security_SUITE.erl +++ b/test/security_SUITE.erl @@ -72,6 +72,7 @@ init_dispatch(_) -> cowboy_router:compile([{"localhost", [ {"/", hello_h, []}, {"/echo/:key", echo_h, []}, + {"/long_polling", long_polling_h, []}, {"/resp/:key[/:arg]", resp_h, []} ]}]). @@ -160,7 +161,7 @@ http2_empty_frame_flooding_push_promise(Config) -> {<<":method">>, <<"GET">>}, {<<":scheme">>, <<"http">>}, {<<":authority">>, <<"localhost">>}, %% @todo Correct port number. - {<<":path">>, <<"/">>} + {<<":path">>, <<"/long_polling">>} ]), ok = gen_tcp:send(Socket, cow_http2:headers(1, nofin, HeadersBlock)), %% Send nofin PUSH_PROMISE frame without any data. |