You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ma...@apache.org on 2018/03/19 00:27:14 UTC
[trafficserver] branch quic-latest updated: Fix compile errors of
unit tests
This is an automated email from the ASF dual-hosted git repository.
masaori pushed a commit to branch quic-latest
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/quic-latest by this push:
new 8388bc2 Fix compile errors of unit tests
8388bc2 is described below
commit 8388bc206fb86a824e26d1d1a778132f0f261ebd
Author: Masaori Koshiba <ma...@apache.org>
AuthorDate: Mon Mar 19 09:26:59 2018 +0900
Fix compile errors of unit tests
---
iocore/net/quic/test/test_QUICHandshake.cc | 2 +-
iocore/net/quic/test/test_QUICPacketFactory.cc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/iocore/net/quic/test/test_QUICHandshake.cc b/iocore/net/quic/test/test_QUICHandshake.cc
index daada59..8e8ad8d 100644
--- a/iocore/net/quic/test/test_QUICHandshake.cc
+++ b/iocore/net/quic/test/test_QUICHandshake.cc
@@ -61,7 +61,7 @@ TEST_CASE("1-RTT handshake ", "[quic]")
QUICStatelessResetToken server_token;
server_token.generate(conn_id, 0);
- QUICHandshake *server = new QUICHandshake(server_qc, server_ssl_ctx, server_token);
+ QUICHandshake *server = new QUICHandshake(server_qc, server_ssl_ctx, server_token, false);
// setup stream 0
MockQUICFrameTransmitter tx;
diff --git a/iocore/net/quic/test/test_QUICPacketFactory.cc b/iocore/net/quic/test/test_QUICPacketFactory.cc
index d90ba77..3db7a69 100644
--- a/iocore/net/quic/test/test_QUICPacketFactory.cc
+++ b/iocore/net/quic/test/test_QUICPacketFactory.cc
@@ -66,7 +66,7 @@ TEST_CASE("QUICPacketFactory_Create_Retry", "[quic]")
ats_unique_buf payload = ats_unique_malloc(sizeof(raw));
memcpy(payload.get(), raw, sizeof(raw));
- QUICPacketUPtr packet = factory.create_retry_packet(0x01020304, 0, std::move(payload), sizeof(raw));
+ QUICPacketUPtr packet = factory.create_retry_packet(0x01020304, 0, std::move(payload), sizeof(raw), false);
CHECK(packet->type() == QUICPacketType::RETRY);
CHECK(packet->connection_id() == 0x01020304);
CHECK(memcmp(packet->payload(), raw, sizeof(raw)) == 0);
--
To stop receiving notification emails like this one, please contact
masaori@apache.org.