Core Unit testing: bigger timeout for LCM tests, sometimes fails in overloaded infraestructure.

This commit is contained in:
Carlos Martín committed 2011-02-10 19:46:58 +01:00
1 parent 6a3f565593
commit e69e8328e2
1 file changed
+2 -2
+2 -2
View File
@@ -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;