Skip to content

Commit

Permalink
test timings adapted (timeout for registration set to 2 times registr…
Browse files Browse the repository at this point in the history
…ation refresh)
  • Loading branch information
rex-schilasky committed Jul 4, 2024
1 parent ba295e3 commit 8e8d9ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions ecal/tests/cpp/util_test/src/util_getclients.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* ========================= eCAL LICENSE =================================
*
* Copyright (C) 2016 - 2019 Continental Corporation
* Copyright (C) 2016 - 2024 Continental Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -22,8 +22,8 @@
#include <gtest/gtest.h>

enum {
CMN_MONITORING_TIMEOUT_MS = (5000 + 100),
CMN_REGISTRATION_REFRESH_MS = (1000 + 100)
CMN_MONITORING_TIMEOUT_MS = (5000),
CMN_REGISTRATION_REFRESH_MS = (1000 * 2)
};

TEST(core_cpp_util, ClientExpiration)
Expand Down
6 changes: 3 additions & 3 deletions ecal/tests/cpp/util_test/src/util_gettopics.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* ========================= eCAL LICENSE =================================
*
* Copyright (C) 2016 - 2019 Continental Corporation
* Copyright (C) 2016 - 2024 Continental Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -27,8 +27,8 @@
#include <thread>

enum {
CMN_MONITORING_TIMEOUT_MS = (5000 + 100),
CMN_REGISTRATION_REFRESH_MS = (1000 + 100)
CMN_MONITORING_TIMEOUT_MS = (5000),
CMN_REGISTRATION_REFRESH_MS = (1000 * 2)
};

TEST(core_cpp_util, GetTopics)
Expand Down

0 comments on commit 8e8d9ee

Please sign in to comment.