https://git.reactos.org/?p=reactos.git;a=commitdiff;h=86ae6b029fd4d18db885edd12275dc8b120814e4

commit 86ae6b029fd4d18db885edd12275dc8b120814e4
Author:     Colin Finck <co...@reactos.org>
AuthorDate: Fri Apr 26 10:30:24 2019 +0200
Commit:     Colin Finck <co...@reactos.org>
CommitDate: Fri Apr 26 10:31:02 2019 +0200

    [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 6e163979e0..9967d2d21c 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 <timeout> 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.

Reply via email to