From 989500ded674d8ae092444d4d88510fc97c66beb Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Wed, 1 Dec 2010 15:59:37 +0000 Subject: [PATCH] shortened test tag names to try and workaround a character limitation --- .../jclouds/aws/ec2/compute/EC2ComputeServiceLiveTest.java | 6 +++--- .../compute/EucalyptusComputeServiceLiveTestDisabled.java | 2 +- .../org/jclouds/compute/BaseComputeServiceLiveTest.java | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/aws/core/src/test/java/org/jclouds/aws/ec2/compute/EC2ComputeServiceLiveTest.java b/aws/core/src/test/java/org/jclouds/aws/ec2/compute/EC2ComputeServiceLiveTest.java index 1e57c9672d..496d7c0b7c 100644 --- a/aws/core/src/test/java/org/jclouds/aws/ec2/compute/EC2ComputeServiceLiveTest.java +++ b/aws/core/src/test/java/org/jclouds/aws/ec2/compute/EC2ComputeServiceLiveTest.java @@ -106,7 +106,7 @@ public class EC2ComputeServiceLiveTest extends BaseComputeServiceLiveTest { InstanceClient instanceClient = EC2Client.class.cast(context.getProviderSpecificContext().getApi()) .getInstanceServices(); - String tag = this.tag + "onl"; + String tag = this.tag + "o"; TemplateOptions options = client.templateOptions(); @@ -190,7 +190,7 @@ public class EC2ComputeServiceLiveTest extends BaseComputeServiceLiveTest { InstanceClient instanceClient = EC2Client.class.cast(context.getProviderSpecificContext().getApi()) .getInstanceServices(); - String tag = this.tag + "onk"; + String tag = this.tag + "k"; TemplateOptions options = client.templateOptions(); @@ -250,7 +250,7 @@ public class EC2ComputeServiceLiveTest extends BaseComputeServiceLiveTest { InstanceClient instanceClient = EC2Client.class.cast(context.getProviderSpecificContext().getApi()) .getInstanceServices(); - String tag = this.tag + "ons"; + String tag = this.tag + "g"; TemplateOptions options = client.templateOptions(); diff --git a/aws/core/src/test/java/org/jclouds/aws/ec2/compute/EucalyptusComputeServiceLiveTestDisabled.java b/aws/core/src/test/java/org/jclouds/aws/ec2/compute/EucalyptusComputeServiceLiveTestDisabled.java index a61b0659a3..c85cfe7bb0 100644 --- a/aws/core/src/test/java/org/jclouds/aws/ec2/compute/EucalyptusComputeServiceLiveTestDisabled.java +++ b/aws/core/src/test/java/org/jclouds/aws/ec2/compute/EucalyptusComputeServiceLiveTestDisabled.java @@ -43,7 +43,7 @@ public class EucalyptusComputeServiceLiveTestDisabled extends EC2ComputeServiceL @Override public void setServiceDefaults() { // security groups must be <30 characters - tag = "euc"; + tag = "eu"; } @Override diff --git a/compute/src/test/java/org/jclouds/compute/BaseComputeServiceLiveTest.java b/compute/src/test/java/org/jclouds/compute/BaseComputeServiceLiveTest.java index f967f6a063..d01e7d5244 100755 --- a/compute/src/test/java/org/jclouds/compute/BaseComputeServiceLiveTest.java +++ b/compute/src/test/java/org/jclouds/compute/BaseComputeServiceLiveTest.java @@ -200,7 +200,7 @@ public abstract class BaseComputeServiceLiveTest { // starting this one alphabetically before create2nodes.. @Test(enabled = true, dependsOnMethods = { "testCompareSizes" }) public void testAScriptExecutionAfterBootWithBasicTemplate() throws Exception { - String tag = this.tag + "run"; + String tag = this.tag + "r"; try { client.destroyNodesMatching(withTag(tag)); } catch (Exception e) { @@ -460,7 +460,7 @@ public abstract class BaseComputeServiceLiveTest { @Test(enabled = true) public void testCreateAndRunAService() throws Exception { - String tag = this.tag + "service"; + String tag = this.tag + "s"; try { client.destroyNodesMatching(withTag(tag)); } catch (Exception e) {