Skip to content

Commit

Permalink
Update src/messaging/tests/TestReliableMessageProtocol.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
  • Loading branch information
pan-apple and bzbarsky-apple authored May 27, 2021
1 parent 98ec8e6 commit 0d5f4fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/messaging/tests/TestReliableMessageProtocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ void CheckResendApplicationMessageWithPeerExchange(nlTestSuite * inSuite, void *
test_os_sleep_ms(65);
ReliableMessageMgr::Timeout(&ctx.GetSystemLayer(), rm, CHIP_SYSTEM_NO_ERROR);

// Ensure the retransmit message was dropped, and is still there in the retransmit table
// Ensure the retransmit message was not dropped, and is no longer in the retransmit table
NL_TEST_ASSERT(inSuite, gLoopback.mSendMessageCount >= 2);
NL_TEST_ASSERT(inSuite, gLoopback.mDroppedMessageCount == 1);
NL_TEST_ASSERT(inSuite, rm->TestGetCountRetransTable() == 0);
Expand Down

0 comments on commit 0d5f4fc

Please sign in to comment.