From 86ae6b029fd4d18db885edd12275dc8b120814e4 Mon Sep 17 00:00:00 2001 From: Colin Finck Date: Fri, 26 Apr 2019 10:30:24 +0200 Subject: [PATCH] [ROSAUTOTEST] A timeout of 120 seconds kills the msi:action test prematurely, so increase it to 170 seconds. This is still below the 180 seconds before sysreg2 kills the entire VM. I've added a comment to clarify that. --- modules/rostests/rosautotest/CWineTest.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/rostests/rosautotest/CWineTest.cpp b/modules/rostests/rosautotest/CWineTest.cpp index 6e163979e0b..9967d2d21c9 100644 --- a/modules/rostests/rosautotest/CWineTest.cpp +++ b/modules/rostests/rosautotest/CWineTest.cpp @@ -8,7 +8,11 @@ #include "precomp.h" static const DWORD ListTimeout = 10000; -static const DWORD ProcessActivityTimeout = 120000; + +// This value needs to be lower than the configured in sysreg.xml! (usually 180000) +// Otherwise, sysreg2 kills the VM before we can kill the process. +static const DWORD ProcessActivityTimeout = 170000; + /** * Constructs a CWineTest object.