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/04/11 05:54:14 UTC

[trafficserver] 02/02: Explicitly specify max_stream_data in tests

This is an automated email from the ASF dual-hosted git repository.

maskit pushed a commit to branch quic-latest
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit d75edbd523c096472ce8867c79d34121e0899976
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Wed Apr 11 14:51:38 2018 +0900

    Explicitly specify max_stream_data in tests
    
    The default value was changed to 0 from INT64_MAX
---
 iocore/net/quic/test/test_QUICStream.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/iocore/net/quic/test/test_QUICStream.cc b/iocore/net/quic/test/test_QUICStream.cc
index 0e6331a..508d015 100644
--- a/iocore/net/quic/test/test_QUICStream.cc
+++ b/iocore/net/quic/test/test_QUICStream.cc
@@ -94,7 +94,7 @@ TEST_CASE("QUICStream", "[quic]")
     MIOBuffer *read_buffer = new_MIOBuffer(BUFFER_SIZE_INDEX_4K);
     IOBufferReader *reader = read_buffer->alloc_reader();
 
-    std::unique_ptr<QUICStream> stream(new QUICStream(0, stream_id));
+    std::unique_ptr<QUICStream> stream(new QUICStream(0, stream_id, UINT64_MAX, UINT64_MAX));
     stream->do_io_read(nullptr, 0, read_buffer);
 
     stream->recv(frame_8);
@@ -119,7 +119,7 @@ TEST_CASE("QUICStream", "[quic]")
     MIOBuffer *read_buffer = new_MIOBuffer(BUFFER_SIZE_INDEX_4K);
     IOBufferReader *reader = read_buffer->alloc_reader();
 
-    std::unique_ptr<QUICStream> stream(new QUICStream(0, stream_id));
+    std::unique_ptr<QUICStream> stream(new QUICStream(0, stream_id, UINT64_MAX, UINT64_MAX));
     stream->do_io_read(nullptr, 0, read_buffer);
 
     stream->recv(frame_8);

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