Index: net/spdy/spdy_http_stream_unittest.cc |
diff --git a/net/spdy/spdy_http_stream_unittest.cc b/net/spdy/spdy_http_stream_unittest.cc |
index 8724853aa27119ae0ac8ddf61828ccbd38865241..a8ecd8d2cc63f81f8ace47a780bc7a8dbb69ef2e 100644 |
--- a/net/spdy/spdy_http_stream_unittest.cc |
+++ b/net/spdy/spdy_http_stream_unittest.cc |
@@ -835,14 +835,14 @@ TEST_P(SpdyHttpStreamTest, DelayedSendChunkedPostWithWindowUpdate) { |
// Complete the initial request write and first chunk. |
base::RunLoop().RunUntilIdle(); |
- ASSERT_TRUE(callback.have_result()); |
- EXPECT_EQ(OK, callback.WaitForResult()); |
EXPECT_EQ(static_cast<int64_t>(req->size()), |
http_stream->GetTotalSentBytes()); |
EXPECT_EQ(0, http_stream->GetTotalReceivedBytes()); |
upload_stream.AppendData(kUploadData, kUploadDataSize, true); |
+ ASSERT_TRUE(callback.have_result()); |
+ EXPECT_EQ(OK, callback.WaitForResult()); |
// Verify that the window size has decreased. |
ASSERT_TRUE(http_stream->stream() != NULL); |