summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcollin <collin@livio.io>2021-03-05 16:17:13 -0500
committercollin <collin@livio.io>2021-03-05 16:17:13 -0500
commitcb6fb787ab30f59a022782dc9dab4c80198a52d2 (patch)
tree4680d152fdd34a9d5af1d04e506f2229f5929df1
parentb573186f48ab77f754bff4f7040a069630c933a5 (diff)
downloadsdl_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.cc2
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;