Skip to content

Commit

Permalink
Fix failing unit test with ENABLE_SECURITY=OFF (#3655)
Browse files Browse the repository at this point in the history
  • Loading branch information
iCollin authored Mar 8, 2021
1 parent 1b9fee3 commit fcd0b38
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4068,6 +4068,7 @@ TEST_F(ProtocolHandlerImplTest,
EXPECT_TRUE(waiter->WaitFor(times, kAsyncExpectationsTimeout));
}

#ifdef ENABLE_SECURITY
TEST_F(ProtocolHandlerImplTest,
OnTMMessageSend_ReadyToCloseConnection_Disconnect) {
OnTMMessageSend();
Expand Down Expand Up @@ -4097,6 +4098,7 @@ TEST_F(ProtocolHandlerImplTest,

tm_listener->OnTMMessageSend(message);
}
#endif

TEST_F(ProtocolHandlerImplTest, OnTMMessageSend_InvalidData_Cancelled) {
const uint8_t data_size = 8u;
Expand Down

0 comments on commit fcd0b38

Please sign in to comment.