adjusted as softlayer doesn't support metadata

This commit is contained in:
Adrian Cole 2011-10-15 00:24:13 -07:00
parent 5316cbc71c
commit df8fbd7eca
1 changed files with 9 additions and 0 deletions

View File

@ -20,12 +20,14 @@ package org.jclouds.softlayer.compute;
import org.jclouds.compute.BaseComputeServiceLiveTest;
import org.jclouds.compute.ComputeServiceContextFactory;
import org.jclouds.compute.domain.NodeMetadata;
import org.jclouds.rest.RestContext;
import org.jclouds.softlayer.SoftLayerAsyncClient;
import org.jclouds.softlayer.SoftLayerClient;
import org.jclouds.sshj.config.SshjSshClientModule;
import org.testng.annotations.Test;
import com.google.common.collect.ImmutableMap;
import com.google.inject.Module;
/**
@ -52,6 +54,13 @@ public class SoftLayerComputeServiceLiveTest extends BaseComputeServiceLiveTest
.createContext(provider, identity, credential).getProviderSpecificContext();
}
// softlayer does not support metadata
@Override
protected void checkUserMetadataInNodeEquals(NodeMetadata node, ImmutableMap<String, String> userMetadata) {
assert node.getUserMetadata().equals(ImmutableMap.<String, String> of()) : String.format(
"node userMetadata did not match %s %s", userMetadata, node);
}
@Override
public void testOptionToNotBlock() {
// start call is blocking anyway.