wsd: test: extend process timeout

4 seconds proves too short in some cases
and times out occassionally. 10 seconds
seems more reasonable.

Change-Id: Icede882355a66bf383ebdd87858f1ded77825c5f
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
pull/8508/head
Ashod Nakashian 2024-03-10 11:47:24 -04:00 committed by Ashod Nakashian
parent b042363fe4
commit 7267e34dd8
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@
#include <lokassert.hpp>
#include <testlog.hpp>
std::string getPidList(std::set<pid_t> pids);
std::string getPidList(const std::set<pid_t>& pids);
std::set<pid_t> helpers::getKitPids() { return COOLWSD::getKitPids(); }
@ -37,7 +37,7 @@ pid_t helpers::getForKitPid()
return pid;
}
std::string getPidList(std::set<pid_t> pids)
std::string getPidList(const std::set<pid_t>& pids)
{
std::ostringstream oss;
oss << "[";

View File

@ -21,7 +21,7 @@
namespace helpers
{
constexpr int KIT_PID_TIMEOUT_MS = 4000 * TRACE_MULTIPLIER;
constexpr int KIT_PID_TIMEOUT_MS = 10000 * TRACE_MULTIPLIER;
constexpr int KIT_PID_RETRY_MS = 20;
/*