From 57ea3b987c01368ae752e4a5e10383572735d518 Mon Sep 17 00:00:00 2001 From: Daniel Broudy Date: Fri, 17 Oct 2014 16:05:54 -0700 Subject: [PATCH] minor bug fix to InstanceApiLiveTest --- .../googlecomputeengine/features/InstanceApiLiveTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/providers/google-compute-engine/src/test/java/org/jclouds/googlecomputeengine/features/InstanceApiLiveTest.java b/providers/google-compute-engine/src/test/java/org/jclouds/googlecomputeengine/features/InstanceApiLiveTest.java index fd80df0c72..e942adc8c6 100644 --- a/providers/google-compute-engine/src/test/java/org/jclouds/googlecomputeengine/features/InstanceApiLiveTest.java +++ b/providers/google-compute-engine/src/test/java/org/jclouds/googlecomputeengine/features/InstanceApiLiveTest.java @@ -57,7 +57,7 @@ public class InstanceApiLiveTest extends BaseGoogleComputeEngineApiLiveTest { private static final String IPV4_RANGE = "10.0.0.0/8"; private static final String METADATA_ITEM_KEY = "instanceLiveTestTestProp"; private static final String METADATA_ITEM_VALUE = "instanceLiveTestTestValue"; - private static final Set TAGS = ImmutableSet.of("instanceLiveTestTag1", "instanceLiveTestTag2"); + private static final Set TAGS = ImmutableSet.of("instance-live-test-tag1", "instance-live-test-tag2"); private static final String ATTACH_DISK_NAME = "instance-api-live-test-attach-disk"; private static final String ATTACH_DISK_DEVICE_NAME = "attach-disk-1"; @@ -153,7 +153,7 @@ public class InstanceApiLiveTest extends BaseGoogleComputeEngineApiLiveTest { public void testSetTagsForInstance() { Instance originalInstance = api().getInZone(DEFAULT_ZONE_NAME, INSTANCE_NAME); assertZoneOperationDoneSucessfully(api().setTagsInZone(DEFAULT_ZONE_NAME, INSTANCE_NAME, TAGS, - originalInstance.getMetadata().getFingerprint()), + originalInstance.getTags().getFingerprint()), TIME_WAIT); Instance modifiedInstance = api().getInZone(DEFAULT_ZONE_NAME, INSTANCE_NAME);