mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-11-24 04:01:07 +03:00
Propagate error in scheduleFramesForPacket and writeData
Summary: As in title, this is more of a theme on adding an Expected return. Reviewed By: kvtsoy Differential Revision: D72579218 fbshipit-source-id: 25735535368838f1a4315667cd7e9e9b5df1c485
This commit is contained in:
committed by
Facebook GitHub Bot
parent
28b13b22d8
commit
2a8fba588f
@@ -1145,8 +1145,9 @@ TEST_F(QuicOpenStateTest, DSRFullStreamAcked) {
|
||||
size_t len = buf->computeChainDataLength();
|
||||
ASSERT_FALSE(
|
||||
writeDataToQuicStream(*stream, std::move(buf), false).hasError());
|
||||
handleStreamWritten(
|
||||
*conn, *stream, 0, len, false, 1, PacketNumberSpace::AppData);
|
||||
ASSERT_FALSE(handleStreamWritten(
|
||||
*conn, *stream, 0, len, false, 1, PacketNumberSpace::AppData)
|
||||
.hasError());
|
||||
ASSERT_EQ(stream->retransmissionBuffer.size(), 1);
|
||||
ASSERT_FALSE(
|
||||
writeBufMetaToQuicStream(*stream, BufferMeta(1000), true).hasError());
|
||||
|
||||
Reference in New Issue
Block a user