diff options
Diffstat (limited to 'net/quic/quic_data_stream_test.cc')
-rw-r--r-- | net/quic/quic_data_stream_test.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/quic/quic_data_stream_test.cc b/net/quic/quic_data_stream_test.cc index 6799131..04b7c4e 100644 --- a/net/quic/quic_data_stream_test.cc +++ b/net/quic/quic_data_stream_test.cc @@ -497,7 +497,8 @@ TEST_P(QuicDataStreamTest, StreamFlowControlViolation) { string body; GenerateBody(&body, kWindow + 1); QuicStreamFrame frame(kClientDataStreamId1, false, 0, MakeIOVector(body)); - EXPECT_CALL(*connection_, SendConnectionClose(QUIC_FLOW_CONTROL_ERROR)); + EXPECT_CALL(*connection_, + SendConnectionClose(QUIC_FLOW_CONTROL_RECEIVED_TOO_MUCH_DATA)); stream_->OnStreamFrame(frame); } @@ -534,7 +535,8 @@ TEST_P(QuicDataStreamTest, ConnectionFlowControlViolation) { EXPECT_LT(body.size(), kStreamWindow); QuicStreamFrame frame(kClientDataStreamId1, false, 0, MakeIOVector(body)); - EXPECT_CALL(*connection_, SendConnectionClose(QUIC_FLOW_CONTROL_ERROR)); + EXPECT_CALL(*connection_, + SendConnectionClose(QUIC_FLOW_CONTROL_RECEIVED_TOO_MUCH_DATA)); stream_->OnStreamFrame(frame); } |