From 5593324ecc805f4372eefc1dcce2acfaa818b442 Mon Sep 17 00:00:00 2001 From: Kedar Dave Date: Tue, 31 May 2011 23:54:28 -0500 Subject: [PATCH] added compute service live test for savvis symphony vpdc --- .../VPDCComputeServiceLiveTestDisabled.java | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 providers/savvis-symphonyvpdc/src/test/java/org/jclouds/savvis/vpdc/compute/VPDCComputeServiceLiveTestDisabled.java diff --git a/providers/savvis-symphonyvpdc/src/test/java/org/jclouds/savvis/vpdc/compute/VPDCComputeServiceLiveTestDisabled.java b/providers/savvis-symphonyvpdc/src/test/java/org/jclouds/savvis/vpdc/compute/VPDCComputeServiceLiveTestDisabled.java new file mode 100644 index 0000000000..1146178803 --- /dev/null +++ b/providers/savvis-symphonyvpdc/src/test/java/org/jclouds/savvis/vpdc/compute/VPDCComputeServiceLiveTestDisabled.java @@ -0,0 +1,44 @@ +package org.jclouds.savvis.vpdc.compute; + +import java.util.Properties; + +import org.jclouds.Constants; +import org.jclouds.compute.BaseComputeServiceLiveTest; +import org.jclouds.ssh.jsch.config.JschSshClientModule; +import org.testng.annotations.Test; + +import com.google.inject.Module; + +/** + * Takes a long time to list nodes. Average response time is about 10-15 seconds per vm. + * Hence this test does not complete and is disabled until performance improves. + * @author Kedar Dave + * + */ +@Test(enabled = true, groups = "live") +public class VPDCComputeServiceLiveTestDisabled extends BaseComputeServiceLiveTest { + + public VPDCComputeServiceLiveTestDisabled(){ + provider = "savvis-symphonyvpdc"; + } + + @Override + public void setServiceDefaults() { + group = "savvis-symphonyvpdc"; + } + + @Override + protected Properties setupProperties() { + Properties overrides = super.setupProperties(); + // savvis uses untrusted certificates + overrides.setProperty(Constants.PROPERTY_TRUST_ALL_CERTS, "true"); + overrides.setProperty(Constants.PROPERTY_RELAX_HOSTNAME, "true"); + return overrides; + } + + @Override + protected Module getSshModule() { + return new JschSshClientModule(); + } + +}