From bb3e8e160c2a53ea1ba0f625d4023f72f766c868 Mon Sep 17 00:00:00 2001 From: "adrian.f.cole" Date: Fri, 22 May 2009 15:39:31 +0000 Subject: [PATCH] increased timeout for slow machines git-svn-id: http://jclouds.googlecode.com/svn/trunk@835 3d8758e0-26b5-11de-8745-db77d3ebf521 --- .../jclouds/http/BaseHttpFutureCommandClientTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/src/test/java/org/jclouds/http/BaseHttpFutureCommandClientTest.java b/core/src/test/java/org/jclouds/http/BaseHttpFutureCommandClientTest.java index 957763333a..cf0a598393 100644 --- a/core/src/test/java/org/jclouds/http/BaseHttpFutureCommandClientTest.java +++ b/core/src/test/java/org/jclouds/http/BaseHttpFutureCommandClientTest.java @@ -158,7 +158,7 @@ public abstract class BaseHttpFutureCommandClientTest { server.stop(); } - @Test(invocationCount = 50, timeOut = 1500) + @Test(invocationCount = 50, timeOut = 3000) public void testRequestFilter() throws MalformedURLException, ExecutionException, InterruptedException, TimeoutException { GetString get = factory.createGetString("/"); @@ -169,7 +169,7 @@ public abstract class BaseHttpFutureCommandClientTest { TimeUnit.SECONDS)); } - @Test(invocationCount = 50, timeOut = 1500) + @Test(invocationCount = 50, timeOut = 3000) public void testGetStringWithHeader() throws MalformedURLException, ExecutionException, InterruptedException, TimeoutException { GetString get = factory.createGetString("/"); @@ -180,7 +180,7 @@ public abstract class BaseHttpFutureCommandClientTest { TimeUnit.SECONDS)); } - @Test(invocationCount = 50, timeOut = 1500) + @Test(invocationCount = 50, timeOut = 3000) public void testGetString() throws MalformedURLException, ExecutionException, InterruptedException, TimeoutException { GetString get = factory.createGetString("/"); @@ -191,7 +191,7 @@ public abstract class BaseHttpFutureCommandClientTest { TimeUnit.SECONDS)); } - @Test(invocationCount = 50, timeOut = 1500) + @Test(invocationCount = 50, timeOut = 3000) public void testHead() throws MalformedURLException, ExecutionException, InterruptedException, TimeoutException { Head head = factory.createHead("/"); @@ -200,7 +200,7 @@ public abstract class BaseHttpFutureCommandClientTest { assert head.get(10, TimeUnit.SECONDS); } - @Test(invocationCount = 50, timeOut = 1500) + @Test(invocationCount = 50, timeOut = 3000) public void testGetAndParseSax() throws MalformedURLException, ExecutionException, InterruptedException, TimeoutException { GetAndParseSax getAndParseSax = factory.createGetAndParseSax("/",