commit | e87803ed0bfcce742cfc6a59358b2b6144110051 | [log] [tgz] |
---|---|---|
author | QUICHE team <quiche-dev@google.com> | Thu Aug 18 21:51:56 2022 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Aug 18 21:53:50 2022 -0700 |
tree | 90aa7e9a5317c132d4abd4b7c1b97d08c0820d82 | |
parent | 52c346e6ccd068e022623d49a2ae94f6733f4437 [diff] |
Fix stream server test time advancing This fails a chromium build bot, https://bugs.chromium.org/p/chromium/issues/detail?id=1354087 PiperOrigin-RevId: 468619463
diff --git a/quiche/quic/tools/quic_simple_server_stream_test.cc b/quiche/quic/tools/quic_simple_server_stream_test.cc index 92d06bd..1702ea1 100644 --- a/quiche/quic/tools/quic_simple_server_stream_test.cc +++ b/quiche/quic/tools/quic_simple_server_stream_test.cc
@@ -261,7 +261,7 @@ session_.config(), kMinimumFlowControlSendWindow); QuicConfigPeer::SetReceivedMaxUnidirectionalStreams(session_.config(), 10); session_.OnConfigNegotiated(); - connection_->AdvanceTime(QuicTime::Delta::FromSeconds(1)); + simulator_.RunFor(QuicTime::Delta::FromSeconds(1)); } const std::string& StreamBody() { return stream_->body(); }