Skip to content

Commit

Permalink
tls 1.3: fix internal_mnesia
Browse files Browse the repository at this point in the history
  • Loading branch information
vkatsuba committed Oct 19, 2021
1 parent 925aedd commit 3c10658
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions big_tests/tests/rest_client_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1027,10 +1027,12 @@ connect_to_sse(User) ->

wait_for_event(#{pid := Pid, stream_ref := StreamRef} = Opts) ->
case gun:await(Pid, StreamRef) of
{response, nofin, _Status, _} ->
{response, nofin, _, _} ->
wait_for_event(Opts);
{data, nofin, _} ->
wait_for_event(Opts);
{sse, #{data := [Response]}} ->
Opts#{data => Response};
Opts#{data => Response};
Error ->
Error
end.
Expand Down

0 comments on commit 3c10658

Please sign in to comment.