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/01/30 07:54:18 UTC

[trafficserver] 03/03: Fix tests for QUICHandshake

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

commit 3f4fe3d4d28d33e6fc67df14d1600d89ff32e65f
Author: Masaori Koshiba <ma...@apache.org>
AuthorDate: Tue Jan 30 16:54:00 2018 +0900

    Fix tests for QUICHandshake
---
 iocore/net/quic/test/test_QUICHandshake.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/iocore/net/quic/test/test_QUICHandshake.cc b/iocore/net/quic/test/test_QUICHandshake.cc
index 71ea0e6..5c2ad15 100644
--- a/iocore/net/quic/test/test_QUICHandshake.cc
+++ b/iocore/net/quic/test/test_QUICHandshake.cc
@@ -75,6 +75,7 @@ TEST_CASE("1-RTT handshake ", "[quic]")
     // ClientHello
     client->handleEvent(VC_EVENT_WRITE_READY, nullptr);
     CHECK(stream_io->transfer() > 0);
+    client->handleEvent(QUIC_EVENT_HANDSHAKE_PACKET_WRITE_COMPLETE, nullptr);
 
     // ServerHello
     server->handleEvent(VC_EVENT_READ_READY, nullptr);
@@ -82,6 +83,7 @@ TEST_CASE("1-RTT handshake ", "[quic]")
 
     client->handleEvent(VC_EVENT_READ_READY, nullptr);
     CHECK(stream_io->transfer() > 0);
+    client->handleEvent(QUIC_EVENT_HANDSHAKE_PACKET_WRITE_COMPLETE, nullptr);
 
     // Finished
     server->handleEvent(VC_EVENT_READ_READY, nullptr);

-- 
To stop receiving notification emails like this one, please contact
masaori@apache.org.