From 774c4412aa9561198d251213d23b9a0d1e91791a Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Thu, 22 Mar 2012 12:27:31 -0700 Subject: [PATCH] start call can take a very long time to complete --- .../compute/HPCloudComputeComputeServiceLiveTest.java | 6 +++++- .../jclouds/openstack/nova/v1_1/features/ServerClient.java | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/labs/hpcloud-compute/src/test/java/org/jclouds/hpcloud/compute/compute/HPCloudComputeComputeServiceLiveTest.java b/labs/hpcloud-compute/src/test/java/org/jclouds/hpcloud/compute/compute/HPCloudComputeComputeServiceLiveTest.java index bbd5dd87f8..1cb30fef0d 100644 --- a/labs/hpcloud-compute/src/test/java/org/jclouds/hpcloud/compute/compute/HPCloudComputeComputeServiceLiveTest.java +++ b/labs/hpcloud-compute/src/test/java/org/jclouds/hpcloud/compute/compute/HPCloudComputeComputeServiceLiveTest.java @@ -39,5 +39,9 @@ public class HPCloudComputeComputeServiceLiveTest extends BaseComputeServiceLive protected Module getSshModule() { return new SshjSshClientModule(); } - + + @Override + public void testOptionToNotBlock() { + // start call is blocking anyway. + } } diff --git a/labs/openstack-nova/src/main/java/org/jclouds/openstack/nova/v1_1/features/ServerClient.java b/labs/openstack-nova/src/main/java/org/jclouds/openstack/nova/v1_1/features/ServerClient.java index e605d6b5ab..b0723f1568 100644 --- a/labs/openstack-nova/src/main/java/org/jclouds/openstack/nova/v1_1/features/ServerClient.java +++ b/labs/openstack-nova/src/main/java/org/jclouds/openstack/nova/v1_1/features/ServerClient.java @@ -78,7 +78,8 @@ public interface ServerClient { * request * @return the newly created server */ - @Timeout(duration = 5, timeUnit = TimeUnit.MINUTES) + // blocking call + @Timeout(duration = 10, timeUnit = TimeUnit.MINUTES) Server createServer(String name, String imageRef, String flavorRef, CreateServerOptions... options); /**