Fixing CatalogResourceTest because RedisStore switched to new entity interface 
implementation


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/73584177
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/73584177
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/73584177

Branch: refs/heads/0.5.0
Commit: 73584177bc5c522e557d637594c644e1c8b4ee3d
Parents: 32d1432
Author: Andrew Kennedy <[email protected]>
Authored: Mon Apr 22 22:29:00 2013 +0100
Committer: Andrew Kennedy <[email protected]>
Committed: Wed Apr 24 13:25:44 2013 +0100

----------------------------------------------------------------------
 .../test/java/brooklyn/rest/resources/CatalogResourceTest.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/73584177/usage/rest/src/test/java/brooklyn/rest/resources/CatalogResourceTest.java
----------------------------------------------------------------------
diff --git 
a/usage/rest/src/test/java/brooklyn/rest/resources/CatalogResourceTest.java 
b/usage/rest/src/test/java/brooklyn/rest/resources/CatalogResourceTest.java
index d6aa435..25a8bb7 100644
--- a/usage/rest/src/test/java/brooklyn/rest/resources/CatalogResourceTest.java
+++ b/usage/rest/src/test/java/brooklyn/rest/resources/CatalogResourceTest.java
@@ -96,7 +96,8 @@ public class CatalogResourceTest extends 
BrooklynRestResourceTest {
   @Test
   public void testGetCatalogEntityDetails() {
       CatalogEntitySummary details = client().resource(
-              
URI.create("/v1/catalog/entities/brooklyn.entity.nosql.redis.RedisStore"))
+              // FIXME entity ids should use interface class not 
imp[lementation
+              
URI.create("/v1/catalog/entities/brooklyn.entity.nosql.redis.RedisStoreImpl"))
               .get(CatalogEntitySummary.class);
       assertTrue(details.toString().contains("redis.port"));
       assertTrue(details.toString().contains("run.dir"));

Reply via email to