Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1867)

Unified Diff: net/tools/quic/end_to_end_test.cc

Issue 2327743004: Fix two TSAN bugs exposed when running with -c opt: (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/tools/quic/quic_in_memory_cache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/end_to_end_test.cc
diff --git a/net/tools/quic/end_to_end_test.cc b/net/tools/quic/end_to_end_test.cc
index 127fec715248cd5776f1a69ccd5233e2784b6d27..61ed2920b816f4b93ab84551662ed79159611946 100644
--- a/net/tools/quic/end_to_end_test.cc
+++ b/net/tools/quic/end_to_end_test.cc
@@ -1368,11 +1368,13 @@ TEST_P(EndToEndTest, NegotiateCongestionControl) {
DLOG(FATAL) << "Unexpected congestion control tag";
}
+ server_thread_->Pause();
EXPECT_EQ(expected_congestion_control_type,
QuicSentPacketManagerPeer::GetSendAlgorithm(
*static_cast<const QuicSentPacketManager*>(
GetSentPacketManagerFromFirstServerSession()))
->GetCongestionControlType());
+ server_thread_->Resume();
}
TEST_P(EndToEndTest, LimitMaxOpenStreams) {
« no previous file with comments | « no previous file | net/tools/quic/quic_in_memory_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698