> @@ -92,6 +92,16 @@ protected void checkUserMetadataContains(NodeMetadata 
> node, ImmutableMap<String,
>        }
>     }
>  
> +   @Override
> +   protected void checkTagsInNodeEquals(NodeMetadata node, 
> ImmutableSet<String> tags) {
> +      if (view.unwrapApi(EC2Api.class).getTagApi().isPresent()) {
> +         super.checkTagsInNodeEquals(node, tags);
> +      } else {
> +         assertTrue(node.getTags().isEmpty(), "not expecting tags when tag 
> extension isn't present" + node);

This seemed like the easiest approach to me, and it's what we were doing for 
the checkUserMetadataContains - I'm open to something else, but this seems fine 
to me.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/154/files#r6607585

Reply via email to