Index: net/quic/quic_end_to_end_unittest.cc |
diff --git a/net/quic/quic_end_to_end_unittest.cc b/net/quic/quic_end_to_end_unittest.cc |
index 9ec8731a62d1ff5c5feb4136bc61df01ce602195..dffc27e6f7bde04c8e86ec31047e3ccda74bc4aa 100644 |
--- a/net/quic/quic_end_to_end_unittest.cc |
+++ b/net/quic/quic_end_to_end_unittest.cc |
@@ -159,8 +159,9 @@ class QuicEndToEndTest : public ::testing::TestWithParam<TestParams> { |
// To simplify the test, and avoid the race with the HTTP request, we force |
// QUIC for these requests. |
- params_.origin_to_force_quic_on = |
- HostPortPair::FromString("test.example.com:443"); |
+ for (const char* host : {"test.example.com:443"}) { |
+ params_.origins_to_force_quic_on.insert(HostPortPair::FromString(host)); |
Ryan Hamilton
2016/03/20 22:46:53
nit: do we really need a loop here?
ramant (doing other things)
2016/03/21 17:23:48
Done.
|
+ } |
transaction_factory_.reset(new TestTransactionFactory(params_)); |
} |