You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by GitBox <gi...@apache.org> on 2021/11/16 15:41:44 UTC

[GitHub] [brooklyn-server] duncangrant commented on a change in pull request #1273: Add useful initialisers to the catalog

duncangrant commented on a change in pull request #1273:
URL: https://github.com/apache/brooklyn-server/pull/1273#discussion_r750404251



##########
File path: core/src/test/java/org/apache/brooklyn/core/test/BrooklynAppLiveTestSupport.java
##########
@@ -36,10 +36,17 @@
     @Override
     @BeforeMethod(alwaysRun=true)
     public void setUp() throws Exception {
+
         if (mgmt!=null) {
             app = mgmt.getEntityManager().createEntity(newAppSpec());
         } else {
-            mgmt = new LocalManagementContextForTests(BrooklynProperties.Factory.newDefault());
+
+            LocalManagementContextForTests.Builder builder = LocalManagementContextForTests.builder(true).
+                    setOsgiEnablementAndReuse(true, true);
+            if (true) {
+                builder.useDefaultProperties();
+            }

Review comment:
       I'm not sure where this change has come from - I don't have it locally?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@brooklyn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org