Skip to content

Commit

Permalink
Fixed pub/sub v5 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hannemn committed Dec 18, 2024
1 parent 319fe49 commit f2ffa0d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ecal/tests/cpp/pubsub_v5_test/src/pubsub_connection_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
TEST(core_cpp_pubsub_v5, TestSubscriberIsPublishedTiming)
{
// initialize eCAL API
EXPECT_EQ(0, eCAL::Initialize("subscriber_is_published"));
EXPECT_EQ(true, eCAL::Initialize("subscriber_is_published"));

std::atomic<bool> do_start_publication(false);
std::atomic<bool> publication_finished(false);
Expand Down Expand Up @@ -131,7 +131,7 @@ TEST(core_cpp_pubsub_v5, TestSubscriberIsPublishedTiming)
TEST(core_cpp_pubsub_v5, TestPublisherIsSubscribedTiming)
{
// initialize eCAL API
EXPECT_EQ(0, eCAL::Initialize("publisher_is_subscribed"));
EXPECT_EQ(true, eCAL::Initialize("publisher_is_subscribed"));

std::atomic<bool> do_start_publication(false);
std::atomic<bool> publication_finished(false);
Expand Down Expand Up @@ -226,7 +226,7 @@ TEST(core_cpp_pubsub_v5, TestPublisherIsSubscribedTiming)
TEST(core_cpp_pubsub_v5, TestChainedPublisherSubscriberCallback)
{
// initialize eCAL API
EXPECT_EQ(0, eCAL::Initialize("chained_publisher_subscriber"));
EXPECT_EQ(true, eCAL::Initialize("chained_publisher_subscriber"));

// Set up counters for sent and received messages
const int message_count = 10;
Expand Down

0 comments on commit f2ffa0d

Please sign in to comment.