Fix flaky headers stream test in quic_session_test.
commit44441da8c0837f30dbf3773eef35813f7dc61ffc
authorrjshade <rjshade@chromium.org>
Wed, 22 Oct 2014 16:04:31 +0000 (22 09:04 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 22 Oct 2014 16:04:46 +0000 (22 16:04 +0000)
treea2479d64fbef76c243a4e64b321dd6f6f5f18c70
parent19ae0a5c1108fa90a494ce111b8ae68ccce2e161
Fix flaky headers stream test in quic_session_test.

Randomly sized test headers would occasionally fit exactly in the stream flow control window, resulting in the stream being flow control blocked but without any pending queued data. Do one extra write after becoming blocked to ensure there is queued data.

BUG=423586

Review URL: https://codereview.chromium.org/669963003

Cr-Commit-Position: refs/heads/master@{#300684}
net/quic/quic_session_test.cc