Increased the timeout. The previous number of iterations were not long enough to complete the tests.

This commit is contained in:
Matt Farina 2012-08-06 15:22:26 -04:00
parent 07b31bea03
commit 989fd97192

View File

@ -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));
}
}