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
*/
@Test(groups = "live", sequential = true)
@Test(groups = "live", singleThreaded = true)
public class EC2ComputeServiceLiveTest extends BaseComputeServiceLiveTest {
public EC2ComputeServiceLiveTest() {

View File

@ -18,6 +18,8 @@
*/
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.http.HttpResponseException;
import org.testng.annotations.Test;
@ -70,4 +72,8 @@ public class EucalyptusComputeServiceLiveTest extends EC2ComputeServiceLiveTest
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
*/
@Test(groups = "live", sequential = true, testName = "EucalyptusPartnerCloudEucalyptusComputeServiceLiveTest")
@Test(groups = "live", singleThreaded = true, testName = "EucalyptusPartnerCloudEucalyptusComputeServiceLiveTest")
public class EucalyptusPartnerCloudEucalyptusComputeServiceLiveTest extends EucalyptusComputeServiceLiveTest {
public EucalyptusPartnerCloudEucalyptusComputeServiceLiveTest() {
@ -45,8 +45,4 @@ public class EucalyptusPartnerCloudEucalyptusComputeServiceLiveTest extends Euca
return overrides;
}
// test hangs
@Override
public void testExtendedOptionsAndLogin() throws Exception {
}
}