algairim commented on a change in pull request #1273: URL: https://github.com/apache/brooklyn-server/pull/1273#discussion_r750058677
########## 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: Does not look like `if` statement needed. -- 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-unsubscr...@brooklyn.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org