# HG changeset patch # User Sergey Kandaurov # Date 1606771940 0 # Node ID 62a1667f60f848afd1228fb4f35304c52b134f5a # Parent 6f573329e862cdc839eefbc24f51828ce502335a Tests: fixed grpc.t after previous change. In rare cases, "grpc error" test results could contain confusing frames from a previous connection. The fix is to restart with a new connection. diff --git a/grpc.t b/grpc.t --- a/grpc.t +++ b/grpc.t @@ -514,6 +514,9 @@ is($frame->{flags}, undef, 'discard NO_E (undef, $frame) = grep { $_->{type} eq "HEADERS" } @$frames; is($frame->{flags}, undef, 'discard CANCEL - no trailers'); +undef $f; +$f = grpc(); + # upstream keepalive, grpc error # receiving END_STREAM followed by RST_STREAM NO_ERROR