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

Unified Diff: net/quic/core/quic_connection_test.cc

Issue 2221093002: Deprecate quic_do_not_migrate_on_old_packet. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@128997036
Patch Set: Created 4 years, 4 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 | « net/quic/core/quic_connection.cc ('k') | net/quic/core/quic_flags.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_connection_test.cc
diff --git a/net/quic/core/quic_connection_test.cc b/net/quic/core/quic_connection_test.cc
index 0e175fe036d3e3f36868caf6cfa470b2cfd3bbf6..4d5919deb9f9df39a48aef8f2b09c9d6b5e88e80 100644
--- a/net/quic/core/quic_connection_test.cc
+++ b/net/quic/core/quic_connection_test.cc
@@ -1155,13 +1155,8 @@ TEST_P(QuicConnectionTest, ClientAddressChangeAndPacketReordered) {
// Decrease packet number to simulate out-of-order packets.
QuicPacketCreatorPeer::SetPacketNumber(&peer_creator_, 4);
- if (FLAGS_quic_do_not_migrate_on_old_packet) {
- // This is an old packet, do not migrate.
- EXPECT_CALL(visitor_, OnConnectionMigration(PORT_CHANGE)).Times(0);
- } else {
- // A connection migration is observed.
- EXPECT_CALL(visitor_, OnConnectionMigration(PORT_CHANGE));
- }
+ // This is an old packet, do not migrate.
+ EXPECT_CALL(visitor_, OnConnectionMigration(PORT_CHANGE)).Times(0);
ProcessFramePacketWithAddresses(QuicFrame(&stream_frame), kSelfAddress,
kPeerAddress);
}
« no previous file with comments | « net/quic/core/quic_connection.cc ('k') | net/quic/core/quic_flags.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698