trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mas...@apache.org
Subject [trafficserver] branch quic-latest updated: Fix a test for flow control
Date Fri, 01 Dec 2017 02:27:31 GMT
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


The following commit(s) were added to refs/heads/quic-latest by this push:
     new f1782a0  Fix a test for flow control
f1782a0 is described below

commit f1782a09965733c3d9e3fba2d69d44a7d91405ea
Author: Masakazu Kitajo <maskit@apache.org>
AuthorDate: Fri Dec 1 11:27:09 2017 +0900

    Fix a test for flow control
---
 iocore/net/quic/test/test_QUICStreamManager.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iocore/net/quic/test/test_QUICStreamManager.cc b/iocore/net/quic/test/test_QUICStreamManager.cc
index 9af5433..3a143df 100644
--- a/iocore/net/quic/test/test_QUICStreamManager.cc
+++ b/iocore/net/quic/test/test_QUICStreamManager.cc
@@ -126,7 +126,7 @@ TEST_CASE("QUICStreamManager_total_offset_received", "[quic]")
   // total_offset should be a integer in unit of 1024 octets
   std::shared_ptr<QUICFrame> stream_frame_1 = QUICFrameFactory::create_stream_frame(data,
1024, 1, 0);
   sm.handle_frame(stream_frame_1);
-  CHECK(sm.total_offset_received() == 1);
+  CHECK(sm.total_offset_received() == 1024);
 }
 
 TEST_CASE("QUICStreamManager_total_offset_sent", "[quic]")

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <commits@trafficserver.apache.org>'].

Mime
View raw message