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

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

Issue 2242423002: Disable QUIC versions less than v32, protected by --FLAGS_quic_disable_pre_32. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@130124951
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_protocol_test.cc ('k') | no next file » | 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 8fc958258a90b481b912e0445d44b8f839f8ca08..faed90630831e79f96a684157a1d79cca1cf8f14 100644
--- a/net/tools/quic/end_to_end_test.cc
+++ b/net/tools/quic/end_to_end_test.cc
@@ -235,6 +235,9 @@ vector<TestParams> GetTestParams() {
for (const QuicVersionVector& client_versions :
version_buckets) {
CHECK(!client_versions.empty());
+ if (FilterSupportedVersions(client_versions).empty()) {
+ continue;
+ }
// Add an entry for server and client supporting all versions.
params.push_back(TestParams(
client_versions, all_supported_versions,
@@ -260,6 +263,10 @@ vector<TestParams> GetTestParams() {
for (size_t i = 1; i < client_versions.size(); ++i) {
QuicVersionVector server_supported_versions;
server_supported_versions.push_back(client_versions[i]);
+ if (FilterSupportedVersions(server_supported_versions)
+ .empty()) {
+ continue;
+ }
params.push_back(TestParams(
client_versions, server_supported_versions,
server_supported_versions.front(),
« no previous file with comments | « net/quic/core/quic_protocol_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698