From e69e8328e29c5351a63cfc3d04874bb014d6eaa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Thu, 10 Feb 2011 19:46:58 +0100 Subject: [PATCH] Core Unit testing: bigger timeout for LCM tests, sometimes fails in overloaded infraestructure. --- src/lcm/test/LifeCycleManagerTest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lcm/test/LifeCycleManagerTest.cc b/src/lcm/test/LifeCycleManagerTest.cc index 3565bbf492..1fabeb6045 100644 --- a/src/lcm/test/LifeCycleManagerTest.cc +++ b/src/lcm/test/LifeCycleManagerTest.cc @@ -133,13 +133,13 @@ private: /** * Wait until the VM changes to the specified state. - * There is a time-out of 3 seconds. + * There is a time-out of 30 seconds. */ void wait_assert(VirtualMachine* vm, VirtualMachine::VmState state, VirtualMachine::LcmState lcm_state = VirtualMachine::RUNNING) { - int n_steps = 100; + int n_steps = 1000; int step = 30000; int i = 0;