diff options
author | collin <collin@livio.io> | 2021-03-05 16:17:13 -0500 |
---|---|---|
committer | collin <collin@livio.io> | 2021-03-05 16:17:13 -0500 |
commit | cb6fb787ab30f59a022782dc9dab4c80198a52d2 (patch) | |
tree | 4680d152fdd34a9d5af1d04e506f2229f5929df1 | |
parent | b573186f48ab77f754bff4f7040a069630c933a5 (diff) | |
download | sdl_core-fix/failing_security_ut.tar.gz |
run OnTMMessageSend_ReadyToCloseConnection_Disconnect only when security onfix/failing_security_ut
-rw-r--r-- | src/components/protocol_handler/test/protocol_handler_tm_test.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/protocol_handler/test/protocol_handler_tm_test.cc b/src/components/protocol_handler/test/protocol_handler_tm_test.cc index 035909ecbf..80fb877b8c 100644 --- a/src/components/protocol_handler/test/protocol_handler_tm_test.cc +++ b/src/components/protocol_handler/test/protocol_handler_tm_test.cc @@ -4068,6 +4068,7 @@ TEST_F(ProtocolHandlerImplTest, EXPECT_TRUE(waiter->WaitFor(times, kAsyncExpectationsTimeout)); } +#ifdef ENABLE_SECURITY TEST_F(ProtocolHandlerImplTest, OnTMMessageSend_ReadyToCloseConnection_Disconnect) { OnTMMessageSend(); @@ -4097,6 +4098,7 @@ TEST_F(ProtocolHandlerImplTest, tm_listener->OnTMMessageSend(message); } +#endif TEST_F(ProtocolHandlerImplTest, OnTMMessageSend_InvalidData_Cancelled) { const uint8_t data_size = 8u; |