Skip to content

Commit

Permalink
iox-eclipse-iceoryx#1036 Fix sporadic deadlock in 'RouDiEnvironment_t…
Browse files Browse the repository at this point in the history
…est'
  • Loading branch information
elBoberido committed Sep 4, 2023
1 parent e2ae450 commit 0b1126c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ TEST_F(RouDiEnvironment_test, StartingRouDiTwiceLeadsToError)
{
::testing::Test::RecordProperty("TEST_ID", "38075292-7897-4db5-b20e-f06ab324ad31");
RouDiEnvironment m_sut{iox::RouDiConfig_t().setDefaults()};

GTEST_FLAG(death_test_style) = "threadsafe";
EXPECT_DEATH({ RouDiEnvironment m_sut2{iox::RouDiConfig_t().setDefaults()}; }, ".*");
}

Expand Down

0 comments on commit 0b1126c

Please sign in to comment.