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 e21b230ca4b76adb7bc6256a40aebe290d3c7a13..ff6465ce3c05e6b0fd09cc1e997ec68ba60caa9e 100644 |
--- a/net/tools/quic/end_to_end_test.cc |
+++ b/net/tools/quic/end_to_end_test.cc |
@@ -1380,7 +1380,8 @@ TEST_P(EndToEndTest, NegotiateCongestionControl) { |
expected_congestion_control_type = kBBR; |
break; |
case kQBIC: |
- expected_congestion_control_type = kCubic; |
+ expected_congestion_control_type = |
+ FLAGS_quic_default_enable_cubic_bytes ? kCubicBytes : kCubic; |
break; |
default: |
DLOG(FATAL) << "Unexpected congestion control tag"; |