brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henev...@apache.org
Subject [25/50] [abbrv] brooklyn-server git commit: Add another test resource check for the source release
Date Mon, 01 Feb 2016 17:50:22 GMT
Add another test resource check for the source release


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

Branch: refs/heads/0.7.0-incubating
Commit: edae75a794d54e1e277f6499ffc4636814db5262
Parents: 6f356e7
Author: Richard Downer <richard@apache.org>
Authored: Thu Jun 25 14:55:08 2015 +0100
Committer: Richard Downer <richard@apache.org>
Committed: Thu Jun 25 15:22:12 2015 +0100

----------------------------------------------------------------------
 .../java/brooklyn/management/osgi/OsgiVersionMoreEntityTest.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/edae75a7/core/src/test/java/brooklyn/management/osgi/OsgiVersionMoreEntityTest.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/brooklyn/management/osgi/OsgiVersionMoreEntityTest.java b/core/src/test/java/brooklyn/management/osgi/OsgiVersionMoreEntityTest.java
index 78cebd2..6863c4c 100644
--- a/core/src/test/java/brooklyn/management/osgi/OsgiVersionMoreEntityTest.java
+++ b/core/src/test/java/brooklyn/management/osgi/OsgiVersionMoreEntityTest.java
@@ -198,13 +198,15 @@ public class OsgiVersionMoreEntityTest {
     }
 
     public static CatalogItem<?, ?> addMoreEntityV1(ManagementContext mgmt, String
versionToRegister) {
-        return addCatalogItemWithNameAndType(mgmt, 
+        TestResourceUnavailableException.throwIfResourceUnavailable(OsgiVersionMoreEntityTest.class,
BROOKLYN_TEST_MORE_ENTITIES_V1_PATH);
+        return addCatalogItemWithNameAndType(mgmt,
             OsgiTestResources.BROOKLYN_TEST_MORE_ENTITIES_MORE_ENTITY,
             versionToRegister,
             OsgiTestResources.BROOKLYN_TEST_MORE_ENTITIES_MORE_ENTITY,
             BROOKLYN_TEST_MORE_ENTITIES_V1_URL);
     }
     public static CatalogItem<?, ?> addMoreEntityV2(ManagementContext mgmt, String
versionToRegister) {
+        TestResourceUnavailableException.throwIfResourceUnavailable(OsgiVersionMoreEntityTest.class,
BROOKLYN_TEST_MORE_ENTITIES_V1_PATH);
         return addCatalogItemWithNameAndType(mgmt,
             OsgiTestResources.BROOKLYN_TEST_MORE_ENTITIES_MORE_ENTITY,
             versionToRegister,


Mime
View raw message