updated eucalyptus tests

This commit is contained in:
Adrian Cole 2011-09-30 22:38:25 -07:00
parent b599b30f99
commit ec7a736771
3 changed files with 9 additions and 7 deletions

View File

@ -61,7 +61,7 @@ import com.google.inject.Module;
* *
* @author Adrian Cole * @author Adrian Cole
*/ */
@Test(groups = "live", sequential = true) @Test(groups = "live", singleThreaded = true)
public class EC2ComputeServiceLiveTest extends BaseComputeServiceLiveTest { public class EC2ComputeServiceLiveTest extends BaseComputeServiceLiveTest {
public EC2ComputeServiceLiveTest() { public EC2ComputeServiceLiveTest() {

View File

@ -18,6 +18,8 @@
*/ */
package org.jclouds.eucalyptus.compute; package org.jclouds.eucalyptus.compute;
import org.jclouds.compute.domain.ExecResponse;
import org.jclouds.compute.domain.NodeMetadata;
import org.jclouds.ec2.compute.EC2ComputeServiceLiveTest; import org.jclouds.ec2.compute.EC2ComputeServiceLiveTest;
import org.jclouds.http.HttpResponseException; import org.jclouds.http.HttpResponseException;
import org.testng.annotations.Test; import org.testng.annotations.Test;
@ -69,5 +71,9 @@ public class EucalyptusComputeServiceLiveTest extends EC2ComputeServiceLiveTest
public void testDestroyNodes() { public void testDestroyNodes() {
super.testDestroyNodes(); super.testDestroyNodes();
} }
protected void checkResponseEqualsHostname(ExecResponse execResponse, NodeMetadata node1) {
// hostname is not predictable based on node metadata
assert execResponse.getOutput().trim().equals("ubuntu");
}
} }

View File

@ -27,7 +27,7 @@ import org.testng.annotations.Test;
* *
* @author Adrian Cole * @author Adrian Cole
*/ */
@Test(groups = "live", sequential = true, testName = "EucalyptusPartnerCloudEucalyptusComputeServiceLiveTest") @Test(groups = "live", singleThreaded = true, testName = "EucalyptusPartnerCloudEucalyptusComputeServiceLiveTest")
public class EucalyptusPartnerCloudEucalyptusComputeServiceLiveTest extends EucalyptusComputeServiceLiveTest { public class EucalyptusPartnerCloudEucalyptusComputeServiceLiveTest extends EucalyptusComputeServiceLiveTest {
public EucalyptusPartnerCloudEucalyptusComputeServiceLiveTest() { public EucalyptusPartnerCloudEucalyptusComputeServiceLiveTest() {
@ -45,8 +45,4 @@ public class EucalyptusPartnerCloudEucalyptusComputeServiceLiveTest extends Euca
return overrides; return overrides;
} }
// test hangs
@Override
public void testExtendedOptionsAndLogin() throws Exception {
}
} }