| Index: net/tools/quic/quic_spdy_client_stream_test.cc
|
| diff --git a/net/tools/quic/quic_spdy_client_stream_test.cc b/net/tools/quic/quic_spdy_client_stream_test.cc
|
| index 16e4fdfc676010a05dd1e1ffd31b230343e4912a..bd78c14559cc1cf589f07a812f553d390cac9f4d 100644
|
| --- a/net/tools/quic/quic_spdy_client_stream_test.cc
|
| +++ b/net/tools/quic/quic_spdy_client_stream_test.cc
|
| @@ -154,19 +154,6 @@ TEST_F(QuicSpdyClientStreamTest, DISABLED_TestFramingExtraData) {
|
| EXPECT_NE(QUIC_STREAM_NO_ERROR, stream_->stream_error());
|
| }
|
|
|
| -TEST_F(QuicSpdyClientStreamTest, TestNoBidirectionalStreaming) {
|
| - if (FLAGS_quic_reloadable_flag_quic_always_enable_bidi_streaming) {
|
| - return;
|
| - }
|
| - QuicStreamFrame frame(
|
| - QuicSpdySessionPeer::GetNthClientInitiatedStreamId(session_, 0), false, 3,
|
| - QuicStringPiece("asd"));
|
| -
|
| - EXPECT_FALSE(stream_->write_side_closed());
|
| - stream_->OnStreamFrame(frame);
|
| - EXPECT_TRUE(stream_->write_side_closed());
|
| -}
|
| -
|
| TEST_F(QuicSpdyClientStreamTest, ReceivingTrailers) {
|
| // Test that receiving trailing headers, containing a final offset, results in
|
| // the stream being closed at that byte offset.
|
| @@ -188,14 +175,9 @@ TEST_F(QuicSpdyClientStreamTest, ReceivingTrailers) {
|
|
|
| // Now send the body, which should close the stream as the FIN has been
|
| // received, as well as all data.
|
| - if (!FLAGS_quic_reloadable_flag_quic_always_enable_bidi_streaming) {
|
| - EXPECT_CALL(session_, CloseStream(stream_->id()));
|
| - }
|
| stream_->OnStreamFrame(
|
| QuicStreamFrame(stream_->id(), /*fin=*/false, /*offset=*/0, body_));
|
| - if (FLAGS_quic_reloadable_flag_quic_always_enable_bidi_streaming) {
|
| - EXPECT_TRUE(stream_->reading_stopped());
|
| - }
|
| + EXPECT_TRUE(stream_->reading_stopped());
|
| }
|
|
|
| } // namespace
|
|
|