Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/239#discussion_r70000915
--- Diff: karaf/itest/src/test/java/org/apache/brooklyn/KarafTestUtils.java
---
@@ -44,7 +46,9 @@
configureConsole().ignoreLocalConsole(),
logLevel(LogLevel.INFO),
features(karafStandardFeaturesRepository(), "eventadmin"),
- junitBundles()
+ junitBundles(),
+
editConfigurationFilePut("etc/org.apache.brooklyn.osgilauncher.cfg",
"persistMode", "AUTO"),
+
editConfigurationFilePut("etc/org.apache.brooklyn.osgilauncher.cfg",
"persistenceDir", new File("target/paxexam/persistence/" +
Identifiers.makeRandomId(6) + "/").getAbsolutePath()),
--- End diff --
Looks good. I presume target will get deleted at some point (e.g. on the
next clean build), especially when run on local machines? So no need for
tearDown to delete the folder?
With that assumption, very happy to merge. Doing so now.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---