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:
parent
6a3f565593
commit
e69e8328e2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user