Skip to content

Commit

Permalink
fix: prop: prop_flush_buffered_sig_success
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhuyan committed May 23, 2024
1 parent b68fb09 commit a2a9aa9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/prop_stream_sig_queue.erl
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ prop_flush_buffered_sig_success() ->
ok = quicer:controlling_process(S, self()),
{ok, NewOwner} = quicer:get_stream_owner(S),
NewOwner = self(),
ok = quicer_nif:flush_stream_buffered_sigs(S),
%% assert already flushed by quicer:controlling_process/2
{error, none} = quicer_nif:flush_stream_buffered_sigs(S),
Res = receive_n(length(TermList), Ref),
Destructor(),
Res == TermList
Expand Down

0 comments on commit a2a9aa9

Please sign in to comment.