Skip to content

Commit

Permalink
Refs #20301: remove participant without using mocked code
Browse files Browse the repository at this point in the history
Signed-off-by: JLBuenoLopez-eProsima <[email protected]>
  • Loading branch information
JLBuenoLopez committed Jan 29, 2024
1 parent 61e05cd commit 7e735ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unittest/rtps/domain/RTPSDomainTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ TEST(RTPSDomainTests, library_settings_test)
EXPECT_TRUE(eprosima::fastrtps::rtps::RTPSDomain::get_library_settings(library_settings));
EXPECT_EQ(eprosima::fastdds::INTRAPROCESS_USER_DATA_ONLY, library_settings.intraprocess_delivery);
// Remove RTPSParticipant
EXPECT_TRUE(eprosima::fastrtps::rtps::RTPSDomain::removeRTPSParticipant(participant));
eprosima::fastrtps::rtps::RTPSDomain::stopAll();
library_settings.intraprocess_delivery = eprosima::fastdds::INTRAPROCESS_OFF;
// Setting LibrarySettings with no participants shall suceed
EXPECT_TRUE(eprosima::fastrtps::rtps::RTPSDomain::set_library_settings(library_settings));
Expand Down

0 comments on commit 7e735ea

Please sign in to comment.