tests: improve LpReliability unit tests

count retransmitted, but received packets properly in LpReliability

refs #4391

Change-Id: I6867a70a1e7d7e949a250982df2ff97e49848996
This commit is contained in:
Eric Newberry authored and Junxiao Shi committed 2017-12-13 05:25:24 -08:00
1 parent 78ef901f24
commit 00d39fda3c
2 files changed
+146 -35

No files matched your search

+1
View File
@@ -265,6 +265,7 @@ LpReliability::onLpPacketLost(UnackedFrags::iterator txSeqIt)
else {
// Assign new TxSequence
lp::Sequence newTxSeq = assignTxSequence(txFrag.pkt);
netPkt->didRetx = true;
// Move fragment to new TxSequence mapping
auto newTxFragIt = m_unackedFrags.emplace_hint(