mirror of https://github.com/apache/jclouds.git
adjusted timeouts and corrected invalid ami id
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2628 3d8758e0-26b5-11de-8745-db77d3ebf521
This commit is contained in:
parent
05a7f5233b
commit
646cad3202
|
@ -80,7 +80,7 @@ public class EC2ComputeService implements ComputeService {
|
||||||
}
|
}
|
||||||
|
|
||||||
private Map<Image, String> imageAmiIdMap = ImmutableMap.<Image, String> builder().put(
|
private Map<Image, String> imageAmiIdMap = ImmutableMap.<Image, String> builder().put(
|
||||||
Image.CENTOS_53, "ami-b0a84ad9").put(Image.RHEL_53, "ami-368b685f").build();// todo ami
|
Image.UMBUNTU_90, "ami-7e28ca17").put(Image.RHEL_53, "ami-368b685f").build();// todo ami
|
||||||
// matrix of
|
// matrix of
|
||||||
// region
|
// region
|
||||||
// 32/64 bit
|
// 32/64 bit
|
||||||
|
|
|
@ -59,5 +59,6 @@ public interface AvailabilityZoneAndRegionClient {
|
||||||
* @see <a href="http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeRegions.html"
|
* @see <a href="http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeRegions.html"
|
||||||
* />
|
* />
|
||||||
*/
|
*/
|
||||||
|
@Timeout(duration = 180, timeUnit = TimeUnit.SECONDS)
|
||||||
Map<Region, URI> describeRegions(DescribeRegionsOptions... options);
|
Map<Region, URI> describeRegions(DescribeRegionsOptions... options);
|
||||||
}
|
}
|
||||||
|
|
|
@ -95,8 +95,8 @@ public class SpeedTest {
|
||||||
long timeOut = messageCount * 200; // minimum rate should be at least 5/second
|
long timeOut = messageCount * 200; // minimum rate should be at least 5/second
|
||||||
|
|
||||||
for (Entry<String, RestContext<SQSAsyncClient, SQSClient>> entry : ImmutableMap
|
for (Entry<String, RestContext<SQSAsyncClient, SQSClient>> entry : ImmutableMap
|
||||||
.<String, RestContext<SQSAsyncClient, SQSClient>> of("standard",
|
.<String, RestContext<SQSAsyncClient, SQSClient>> of("enterprise",
|
||||||
nullLoggingDefaultContext, "enterprise", nullLoggingEnterpriseContext)
|
nullLoggingEnterpriseContext, "default", nullLoggingDefaultContext)
|
||||||
.entrySet()) {
|
.entrySet()) {
|
||||||
for (Queue queue : queues) {
|
for (Queue queue : queues) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue