You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2016/02/01 18:49:23 UTC
[37/50] brooklyn-server git commit: Fixing CatalogResourceTest
because RedisStore switched to new entity interface implementation
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 <an...@cloudsoftcorp.com>
Authored: Mon Apr 22 22:29:00 2013 +0100
Committer: Andrew Kennedy <an...@cloudsoftcorp.com>
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"));