increased timeout for slow machines

git-svn-id: http://jclouds.googlecode.com/svn/trunk@835 3d8758e0-26b5-11de-8745-db77d3ebf521
This commit is contained in:
adrian.f.cole 2009-05-22 15:39:31 +00:00
parent f8da659695
commit bb3e8e160c
1 changed files with 5 additions and 5 deletions

View File

@ -158,7 +158,7 @@ public abstract class BaseHttpFutureCommandClientTest {
server.stop(); server.stop();
} }
@Test(invocationCount = 50, timeOut = 1500) @Test(invocationCount = 50, timeOut = 3000)
public void testRequestFilter() throws MalformedURLException, public void testRequestFilter() throws MalformedURLException,
ExecutionException, InterruptedException, TimeoutException { ExecutionException, InterruptedException, TimeoutException {
GetString get = factory.createGetString("/"); GetString get = factory.createGetString("/");
@ -169,7 +169,7 @@ public abstract class BaseHttpFutureCommandClientTest {
TimeUnit.SECONDS)); TimeUnit.SECONDS));
} }
@Test(invocationCount = 50, timeOut = 1500) @Test(invocationCount = 50, timeOut = 3000)
public void testGetStringWithHeader() throws MalformedURLException, public void testGetStringWithHeader() throws MalformedURLException,
ExecutionException, InterruptedException, TimeoutException { ExecutionException, InterruptedException, TimeoutException {
GetString get = factory.createGetString("/"); GetString get = factory.createGetString("/");
@ -180,7 +180,7 @@ public abstract class BaseHttpFutureCommandClientTest {
TimeUnit.SECONDS)); TimeUnit.SECONDS));
} }
@Test(invocationCount = 50, timeOut = 1500) @Test(invocationCount = 50, timeOut = 3000)
public void testGetString() throws MalformedURLException, public void testGetString() throws MalformedURLException,
ExecutionException, InterruptedException, TimeoutException { ExecutionException, InterruptedException, TimeoutException {
GetString get = factory.createGetString("/"); GetString get = factory.createGetString("/");
@ -191,7 +191,7 @@ public abstract class BaseHttpFutureCommandClientTest {
TimeUnit.SECONDS)); TimeUnit.SECONDS));
} }
@Test(invocationCount = 50, timeOut = 1500) @Test(invocationCount = 50, timeOut = 3000)
public void testHead() throws MalformedURLException, ExecutionException, public void testHead() throws MalformedURLException, ExecutionException,
InterruptedException, TimeoutException { InterruptedException, TimeoutException {
Head head = factory.createHead("/"); Head head = factory.createHead("/");
@ -200,7 +200,7 @@ public abstract class BaseHttpFutureCommandClientTest {
assert head.get(10, TimeUnit.SECONDS); assert head.get(10, TimeUnit.SECONDS);
} }
@Test(invocationCount = 50, timeOut = 1500) @Test(invocationCount = 50, timeOut = 3000)
public void testGetAndParseSax() throws MalformedURLException, public void testGetAndParseSax() throws MalformedURLException,
ExecutionException, InterruptedException, TimeoutException { ExecutionException, InterruptedException, TimeoutException {
GetAndParseSax<?> getAndParseSax = factory.createGetAndParseSax("/", GetAndParseSax<?> getAndParseSax = factory.createGetAndParseSax("/",