brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From drigod...@apache.org
Subject [1/2] brooklyn-client git commit: Fix tests tearDown (to always stop management context)
Date Mon, 02 Oct 2017 15:28:32 GMT
Repository: brooklyn-client
Updated Branches:
  refs/heads/master 191f0f98d -> e0c0409d0


Fix tests tearDown (to always stop management context)

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

Branch: refs/heads/master
Commit: 1fe8b56f4a8262360fdb256c682c3ed76916c385
Parents: 191f0f9
Author: Aled Sage <aled.sage@gmail.com>
Authored: Thu Sep 21 09:19:18 2017 +0100
Committer: Aled Sage <aled.sage@gmail.com>
Committed: Thu Sep 21 09:19:18 2017 +0100

----------------------------------------------------------------------
 .../org/apache/brooklyn/rest/client/BrooklynApiRestClientTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-client/blob/1fe8b56f/java/src/test/java/org/apache/brooklyn/rest/client/BrooklynApiRestClientTest.java
----------------------------------------------------------------------
diff --git a/java/src/test/java/org/apache/brooklyn/rest/client/BrooklynApiRestClientTest.java
b/java/src/test/java/org/apache/brooklyn/rest/client/BrooklynApiRestClientTest.java
index d76f7db..d5d8d92 100644
--- a/java/src/test/java/org/apache/brooklyn/rest/client/BrooklynApiRestClientTest.java
+++ b/java/src/test/java/org/apache/brooklyn/rest/client/BrooklynApiRestClientTest.java
@@ -74,7 +74,7 @@ public class BrooklynApiRestClientTest {
     @BeforeClass
     public void setUp() throws Exception {
         server = BrooklynRestApiLauncher.launcher()
-                .managementContext(manager)
+                .managementContext(getManagementContext())
                 .securityProvider(TestSecurityProvider.class)
                 .start();
 


Mime
View raw message