revised rimu tests

This commit is contained in:
Adrian Cole 2011-06-02 15:45:45 -07:00
parent a68640351f
commit 8a8daaa372
2 changed files with 6 additions and 0 deletions

View File

@ -31,6 +31,7 @@ import static org.jclouds.rimuhosting.miro.reference.RimuHostingConstants.PROPER
import java.util.Properties;
import org.jclouds.PropertiesBuilder;
import org.jclouds.compute.reference.ComputeServiceConstants;
import org.jclouds.concurrent.Timeout;
/**
@ -55,6 +56,7 @@ public class RimuHostingPropertiesBuilder extends PropertiesBuilder {
long timeoutMillis = timeout.timeUnit().toMillis(timeout.duration());
properties.setProperty(PROPERTY_SO_TIMEOUT, timeoutMillis + "");
properties.setProperty(PROPERTY_CONNECTION_TIMEOUT, timeoutMillis + "");
properties.setProperty(ComputeServiceConstants.PROPERTY_TIMEOUT_NODE_TERMINATED, 60 * 1000 + "");
return properties;
}

View File

@ -43,4 +43,8 @@ public class RimuHostingComputeServiceLiveTest extends BaseComputeServiceLiveTes
return new JschSshClientModule();
}
@Override
public void testOptionToNotBlock() {
// start call is blocking anyway.
}
}