From c74caec590244a41ec411b720d2187bda9aa94d6 Mon Sep 17 00:00:00 2001
From: Meixner <andre.meixner@kit.edu>
Date: Mon, 12 Aug 2024 14:41:45 +0200
Subject: [PATCH] Increased timeout of getSkillExecutionStatuses() to 10
 seconds; Increased timeout of skill RandomChaining to 2 minutes

---
 .../components/skills/SkillProviderExample/RandomChaining.cpp   | 2 +-
 .../libraries/skills_gui/memory/SkillManagerWrapper.cpp         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/source/RobotAPI/components/skills/SkillProviderExample/RandomChaining.cpp b/source/RobotAPI/components/skills/SkillProviderExample/RandomChaining.cpp
index f1649880c..4ca2e3f33 100644
--- a/source/RobotAPI/components/skills/SkillProviderExample/RandomChaining.cpp
+++ b/source/RobotAPI/components/skills/SkillProviderExample/RandomChaining.cpp
@@ -27,7 +27,7 @@ namespace armarx::skills::provider
         return SkillDescription{.skillId = armarx::skills::SkillID{.skillName = "RandomChaining"},
                                 .description =
                                     "This skill calls 100 random subskills from the skillProviderExample excluding the segfault skill.",
-                                .timeout = armarx::core::time::Duration::MilliSeconds(50000)};
+                                .timeout = armarx::core::time::Duration::MilliSeconds(120000)};
     }
 
     Skill::MainResult
diff --git a/source/RobotAPI/libraries/skills_gui/memory/SkillManagerWrapper.cpp b/source/RobotAPI/libraries/skills_gui/memory/SkillManagerWrapper.cpp
index f2a108ac2..d19f45df5 100644
--- a/source/RobotAPI/libraries/skills_gui/memory/SkillManagerWrapper.cpp
+++ b/source/RobotAPI/libraries/skills_gui/memory/SkillManagerWrapper.cpp
@@ -26,7 +26,7 @@ namespace armarx::skills::gui
             // we return this map
             StatusMap statusMap;
 
-            auto currentManagerStatuses = memory->ice_invocationTimeout(5000)->getSkillExecutionStatuses();
+            auto currentManagerStatuses = memory->ice_invocationTimeout(10000)->getSkillExecutionStatuses();
 
             // iterate over raw data and convert to common types
             for (const auto& [k, v] : currentManagerStatuses)
-- 
GitLab