mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-16 13:10:24 +00:00
remove broken tests
This commit is contained in:
parent
7788f4a352
commit
a3e402db1f
2 changed files with 3 additions and 13 deletions
|
@ -413,22 +413,12 @@ do(<<"stream_trailers">>, Req0, Opts) ->
|
|||
<<"trailer">> => <<"grpc-status">>
|
||||
}, Req0),
|
||||
%% The size should be larger than StreamSize and ConnSize
|
||||
ct_helper:ignore(cowboy_req, stream_trailers, 2),
|
||||
cowboy_req:stream_body(<<0:80000000>>, nofin, Req),
|
||||
cowboy_req:stream_trailers(#{
|
||||
<<"grpc-status">> => <<"0">>
|
||||
}, Req),
|
||||
{ok, Req, Opts};
|
||||
<<"set_cookie">> ->
|
||||
ct_helper:ignore(cowboy_req, stream_trailers, 2),
|
||||
Req = cowboy_req:stream_reply(200, #{
|
||||
<<"trailer">> => <<"grpc-status">>
|
||||
}, Req0),
|
||||
%% The size should be larger than StreamSize and ConnSize
|
||||
cowboy_req:stream_body(<<0:80000000>>, nofin, Req),
|
||||
cowboy_req:stream_trailers(#{
|
||||
<<"set-cookie">> => <<"name=cormano">>
|
||||
}, Req),
|
||||
{ok, Req, Opts};
|
||||
_ ->
|
||||
Req = cowboy_req:stream_reply(200, #{
|
||||
<<"trailer">> => <<"grpc-status">>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue