Skip to content

Commit

Permalink
Fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandInguva committed Feb 12, 2024
1 parent 7a1a6f8 commit 7bbea1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/end2end_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3927,7 +3927,7 @@ func (s) TestClientInvalidStreamID(t *testing.T) {
st.writeHeadersGRPC(2, "/grpc.testing.TestService/StreamingInputCall", true)
goAwayFrame := st.wantGoAway(http2.ErrCodeProtocol)
want := "received an illegal stream id: 2."
if got := string(goAwayFrame.DebugData()); strings.Contains(got, want) {
if got := string(goAwayFrame.DebugData()); !strings.Contains(got, want) {
t.Fatalf("Error received: %v, want: %v", got, want)
}
}
Expand Down

0 comments on commit 7bbea1f

Please sign in to comment.