gfe-relnote: (n/a) Increase the (handshake|idle) timeout values used in the "PreSharedKey" test in third_party/quic/core/http:end_to_end_test. Test only. It seems under heavy load, the handshake can take more than 1 second(current timeout). Increasing the timeout does not make the test slower in the typical case. PiperOrigin-RevId: 293809110 Change-Id: If296dbd1344ceedc4136b8633bcadf13412fbce9
diff --git a/quic/core/http/end_to_end_test.cc b/quic/core/http/end_to_end_test.cc index 2f9149c..bc14779 100644 --- a/quic/core/http/end_to_end_test.cc +++ b/quic/core/http/end_to_end_test.cc
@@ -3732,9 +3732,9 @@ TEST_P(EndToEndTest, PreSharedKey) { SetQuicReloadableFlag(quic_check_handshake_timeout_before_idle_timeout, true); client_config_.set_max_time_before_crypto_handshake( - QuicTime::Delta::FromSeconds(1)); + QuicTime::Delta::FromSeconds(5)); client_config_.set_max_idle_time_before_crypto_handshake( - QuicTime::Delta::FromSeconds(1)); + QuicTime::Delta::FromSeconds(5)); pre_shared_key_client_ = "foobar"; pre_shared_key_server_ = "foobar"; ASSERT_TRUE(Initialize());