summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/hmi_message_handler/test/hmi_message_handler_impl_test.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/components/hmi_message_handler/test/hmi_message_handler_impl_test.cc b/src/components/hmi_message_handler/test/hmi_message_handler_impl_test.cc
index 84ca5883ab..c9ad49efed 100644
--- a/src/components/hmi_message_handler/test/hmi_message_handler_impl_test.cc
+++ b/src/components/hmi_message_handler/test/hmi_message_handler_impl_test.cc
@@ -191,7 +191,14 @@ TEST_F(HMIMessageHandlerImplTest, SendMessageToHMI_Success) {
}
TEST(WebsocketSessionTest, SendMessage_UnpreparedConnection_WithoutFall) {
- ::testing::FLAGS_gtest_death_test_style = "threadsafe";
+ // Value "threadsafe" is preferable for this case, but as workaround for
+ // possible bug in gcc compiler value "fast" was set. Because of this warning
+ // message is appeared.
+
+ // ToDo: set value "threadsafe", if current version of gcc can handle
+ // this value correctly without causing of core dump.
+
+ ::testing::FLAGS_gtest_death_test_style = "fast";
auto send_message = []() {
auto message =