mirror of https://github.com/apache/jclouds.git
removed timeouts from savvis
This commit is contained in:
parent
b398122b45
commit
1f4bd46074
|
@ -149,7 +149,7 @@ public class VPDCRestClientModule extends RestClientModule<VPDCClient, VPDCAsync
|
||||||
@Override
|
@Override
|
||||||
public VCloudSession get() {
|
public VCloudSession get() {
|
||||||
try {
|
try {
|
||||||
return login.login().get(10, TimeUnit.SECONDS);
|
return login.login().get();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
propagate(e);
|
propagate(e);
|
||||||
assert false : e;
|
assert false : e;
|
||||||
|
|
|
@ -68,6 +68,9 @@ public class BaseVPDCClientLiveTest extends BaseVersionedServiceLiveTest {
|
||||||
protected Properties setupProperties() {
|
protected Properties setupProperties() {
|
||||||
Properties overrides = super.setupProperties();
|
Properties overrides = super.setupProperties();
|
||||||
overrides.setProperty(VPDCConstants.PROPERTY_VPDC_VDC_EMAIL, email);
|
overrides.setProperty(VPDCConstants.PROPERTY_VPDC_VDC_EMAIL, email);
|
||||||
|
// unlimited timeouts
|
||||||
|
overrides.setProperty("jclouds.connection-timeout", "0");
|
||||||
|
overrides.setProperty("jclouds.so-timeout", "0");
|
||||||
return overrides;
|
return overrides;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue