From 8e8d9ee4b56a1501e6d8c74bb2200e4153bbbf23 Mon Sep 17 00:00:00 2001 From: rex-schilasky <49162693+rex-schilasky@users.noreply.github.com> Date: Thu, 4 Jul 2024 15:08:27 +0200 Subject: [PATCH] test timings adapted (timeout for registration set to 2 times registration refresh) --- ecal/tests/cpp/util_test/src/util_getclients.cpp | 6 +++--- ecal/tests/cpp/util_test/src/util_gettopics.cpp | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ecal/tests/cpp/util_test/src/util_getclients.cpp b/ecal/tests/cpp/util_test/src/util_getclients.cpp index 28eac2422b..bd70c9dbe0 100644 --- a/ecal/tests/cpp/util_test/src/util_getclients.cpp +++ b/ecal/tests/cpp/util_test/src/util_getclients.cpp @@ -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. @@ -22,8 +22,8 @@ #include 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) diff --git a/ecal/tests/cpp/util_test/src/util_gettopics.cpp b/ecal/tests/cpp/util_test/src/util_gettopics.cpp index 112234d018..3b3199e9da 100644 --- a/ecal/tests/cpp/util_test/src/util_gettopics.cpp +++ b/ecal/tests/cpp/util_test/src/util_gettopics.cpp @@ -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. @@ -27,8 +27,8 @@ #include 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)