diff options
author | Yana Chernysheva (GitHub) <59469418+ychernysheva@users.noreply.github.com> | 2020-06-04 20:09:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-04 13:09:53 -0400 |
commit | 5e761be0bc758606b2bcc8dfbfe0f0da83fc1181 (patch) | |
tree | 7099489d3858bfa74d3ef05519483afd173c98e3 | |
parent | 350733cd737bf5daf3d12971fb589cbc61f70f88 (diff) | |
download | sdl_core-5e761be0bc758606b2bcc8dfbfe0f0da83fc1181.tar.gz |
Add workaround to handle problem, caused by gcc compiler (#3418)
-rw-r--r-- | src/components/hmi_message_handler/test/hmi_message_handler_impl_test.cc | 9 |
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 = |