not all cloud providers accept mixed case metadata keys

This commit is contained in:
Adrian Cole 2012-09-16 16:20:45 -07:00
parent 171c0804e0
commit 2ebd5f0247
1 changed files with 3 additions and 1 deletions

View File

@ -645,7 +645,9 @@ public abstract class BaseComputeServiceLiveTest extends BaseComputeServiceConte
}
protected void createAndRunAServiceInGroup(String group) throws RunNodesException {
ImmutableMap<String, String> userMetadata = ImmutableMap.<String, String> of("Name", group);
// note that some cloud providers do not support mixed case tag names
ImmutableMap<String, String> userMetadata = ImmutableMap.<String, String> of("name", group);
ImmutableSet<String> tags = ImmutableSet. of(group);
Stopwatch watch = new Stopwatch().start();
NodeMetadata node = getOnlyElement(client.createNodesInGroup(group, 1,