diff --git a/sandbox-providers/softlayer/src/test/java/org/jclouds/softlayer/compute/SoftLayerExperimentLiveTest.java b/sandbox-providers/softlayer/src/test/java/org/jclouds/softlayer/compute/SoftLayerExperimentLiveTest.java index 3d2c50df4b..26257ef066 100644 --- a/sandbox-providers/softlayer/src/test/java/org/jclouds/softlayer/compute/SoftLayerExperimentLiveTest.java +++ b/sandbox-providers/softlayer/src/test/java/org/jclouds/softlayer/compute/SoftLayerExperimentLiveTest.java @@ -20,14 +20,9 @@ package org.jclouds.softlayer.compute; import static com.google.common.base.Preconditions.checkNotNull; import static org.testng.Assert.assertEquals; -import static org.testng.Assert.assertTrue; -import com.google.common.collect.Iterables; import org.jclouds.compute.ComputeServiceContext; import org.jclouds.compute.ComputeServiceContextFactory; -import org.jclouds.compute.RunNodesException; -import org.jclouds.compute.domain.NodeMetadata; -import org.jclouds.compute.domain.Template; import org.jclouds.logging.log4j.config.Log4JLoggingModule; import org.jclouds.sshj.config.SshjSshClientModule; import org.testng.annotations.BeforeClass; @@ -36,8 +31,6 @@ import org.testng.annotations.Test; import com.google.common.collect.ImmutableSet; import com.google.inject.Module; -import java.util.Set; - /** * * @author Adrian Cole @@ -76,29 +69,4 @@ public class SoftLayerExperimentLiveTest { } } - @Test - public void testCreateAndDestoryNode() throws RunNodesException { - ComputeServiceContext context = null; - try { - String identity = checkNotNull(System.getProperty("test.softlayer.identity"), "test.softlayer.identity"); - String credential = checkNotNull(System.getProperty("test.softlayer.credential"), "test.softlayer.credential"); - - context = new ComputeServiceContextFactory().createContext("softlayer", identity, credential, ImmutableSet - . of(new Log4JLoggingModule(), new SshjSshClientModule())); - - Template template = context.getComputeService().templateBuilder() - .locationId("3") // the default (singapore) doesn't work. - .build(); - - Set nodes = context.getComputeService().createNodesInGroup("computeservice",1,template); - assertTrue(nodes.size() == 1); - NodeMetadata data = Iterables.get(nodes,0); - context.getComputeService().destroyNode(data.getId()); - - } finally { - if (context != null) - context.close(); - } - } - } \ No newline at end of file