removed timeouts from savvis

This commit is contained in:
Adrian Cole 2012-03-05 14:49:07 -08:00
parent b398122b45
commit 1f4bd46074
2 changed files with 5 additions and 2 deletions

View File

@ -149,7 +149,7 @@ public class VPDCRestClientModule extends RestClientModule<VPDCClient, VPDCAsync
@Override
public VCloudSession get() {
try {
return login.login().get(10, TimeUnit.SECONDS);
return login.login().get();
} catch (Exception e) {
propagate(e);
assert false : e;
@ -172,4 +172,4 @@ public class VPDCRestClientModule extends RestClientModule<VPDCClient, VPDCAsync
super.installLocations();
bind(ImplicitLocationSupplier.class).to(FirstNetwork.class).in(Scopes.SINGLETON);
}
}
}

View File

@ -68,6 +68,9 @@ public class BaseVPDCClientLiveTest extends BaseVersionedServiceLiveTest {
protected Properties setupProperties() {
Properties overrides = super.setupProperties();
overrides.setProperty(VPDCConstants.PROPERTY_VPDC_VDC_EMAIL, email);
// unlimited timeouts
overrides.setProperty("jclouds.connection-timeout", "0");
overrides.setProperty("jclouds.so-timeout", "0");
return overrides;
}