Increased the timeout. The previous number of iterations were not long enough to complete the tests.
This commit is contained in:
parent
07b31bea03
commit
989fd97192
@ -59,7 +59,7 @@ abstract class DBaaSTestCase extends \HPCloud\Tests\TestCase {
|
||||
}
|
||||
}
|
||||
|
||||
public function waitUntilRunning($inst, &$details, $verbose = FALSE, $max = 15, $sleep = 5) {
|
||||
public function waitUntilRunning($inst, &$details, $verbose = FALSE, $max = 30, $sleep = 5) {
|
||||
if ($details->isRunning()) {
|
||||
return TRUE;
|
||||
}
|
||||
@ -77,7 +77,7 @@ abstract class DBaaSTestCase extends \HPCloud\Tests\TestCase {
|
||||
}
|
||||
}
|
||||
|
||||
throw \Exception(sprintf("Instance did not start after %d attempts (%d seconds)", $max, $max * $sleep));
|
||||
throw new \Exception(sprintf("Instance did not start after %d attempts (%d seconds)", $max, $max * $sleep));
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user