1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-28 07:21:29 +03:00

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

This commit is contained in:
Carlos Martín 2011-02-10 19:46:58 +01:00
parent 6a3f565593
commit e69e8328e2

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;