diff options
author | Loïc Hoguin <[email protected]> | 2018-05-22 13:05:15 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-05-22 13:05:15 +0200 |
commit | 633aa89f0086ccb82dce6635d10f604e170464af (patch) | |
tree | e4d3df5f817ababdd2da56757295a1057a9dc8d7 /test | |
parent | dc58eea9b410d639c191a1937dbc537ae11085ea (diff) | |
download | cowboy-633aa89f0086ccb82dce6635d10f604e170464af.tar.gz cowboy-633aa89f0086ccb82dce6635d10f604e170464af.tar.bz2 cowboy-633aa89f0086ccb82dce6635d10f604e170464af.zip |
Fix intermittent test failures in rfc7540_SUITE
Diffstat (limited to 'test')
-rw-r--r-- | test/rfc7540_SUITE.erl | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/rfc7540_SUITE.erl b/test/rfc7540_SUITE.erl index eae611f..4708f06 100644 --- a/test/rfc7540_SUITE.erl +++ b/test/rfc7540_SUITE.erl @@ -1839,7 +1839,7 @@ half_closed_remote_reject_data(Config) -> {<<":method">>, <<"GET">>}, {<<":scheme">>, <<"http">>}, {<<":authority">>, <<"localhost">>}, %% @todo Correct port number. - {<<":path">>, <<"/">>} + {<<":path">>, <<"/long_polling">>} ]), ok = gen_tcp:send(Socket, cow_http2:headers(1, fin, HeadersBlock)), %% Send a DATA frame on that now half-closed (remote) stream. @@ -1859,7 +1859,7 @@ half_closed_remote_reject_headers(Config) -> {<<":method">>, <<"GET">>}, {<<":scheme">>, <<"http">>}, {<<":authority">>, <<"localhost">>}, %% @todo Correct port number. - {<<":path">>, <<"/">>} + {<<":path">>, <<"/long_polling">>} ]), ok = gen_tcp:send(Socket, cow_http2:headers(1, fin, HeadersBlock)), %% Send a HEADERS frame on that now half-closed (remote) stream. @@ -1876,7 +1876,7 @@ half_closed_remote_accept_priority(Config) -> {<<":method">>, <<"GET">>}, {<<":scheme">>, <<"http">>}, {<<":authority">>, <<"localhost">>}, %% @todo Correct port number. - {<<":path">>, <<"/">>} + {<<":path">>, <<"/long_polling">>} ]), ok = gen_tcp:send(Socket, cow_http2:headers(1, fin, HeadersBlock)), %% Send a PRIORITY frame on that now half-closed (remote) stream. @@ -1916,7 +1916,7 @@ half_closed_remote_accept_window_update(Config) -> {<<":method">>, <<"GET">>}, {<<":scheme">>, <<"http">>}, {<<":authority">>, <<"localhost">>}, %% @todo Correct port number. - {<<":path">>, <<"/">>} + {<<":path">>, <<"/long_polling">>} ]), ok = gen_tcp:send(Socket, cow_http2:headers(1, fin, HeadersBlock)), %% Send a WINDOW_UPDATE frame on that now half-closed (remote) stream. @@ -1938,7 +1938,7 @@ rst_stream_closed_reject_data(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 an RST_STREAM frame to close the stream. @@ -1960,7 +1960,7 @@ rst_stream_closed_reject_headers(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 an RST_STREAM frame to close the stream. @@ -1980,7 +1980,7 @@ rst_stream_closed_accept_priority(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 an RST_STREAM frame to close the stream. @@ -2000,7 +2000,7 @@ rst_stream_closed_ignore_rst_stream(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 an RST_STREAM frame to close the stream. @@ -2026,7 +2026,7 @@ rst_stream_closed_reject_window_update(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 an RST_STREAM frame to close the stream. |