Skip to content

Commit

Permalink
Increased timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianReimold committed Feb 26, 2025
1 parent 51ebdc7 commit 824b35f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/tcp_pubsub_test/src/tcp_pubsub_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,8 @@ TEST(tcp_pubsub, publisher_list_test)
// Register the callback
hello_world_subscriber.setCallback(callback_function);

// Wait up to 1 second for the subscriber to connect
for (int i = 0; i < 10; ++i)
// Wait up to 2 seconds for the subscriber to connect
for (int i = 0; i < 20; ++i)
{
if (hello_world_subscriber.getSessions().at(0)->isConnected()
&& hello_world_publisher.getSubscriberCount() >= 1)
Expand Down

0 comments on commit 824b35f

Please sign in to comment.