Not sure if this is a good idea. This way the test is quite different
from your real system.
Better use editConfigurationFilePut to create the data source config you
need for the test.
Christian
On 20.04.2017 16:18, Matteo Rulli wrote:
Thank you Christian. Yes you are right, we could simply avoid to embed
the config placeholders in the feature file.
But there is also another way that just came to my mind:
Option[] options = new Option[] {
editConfigurationFilePut( "etc/config.properties",
"felix.fileinstall.poll", String.valueOf(Integer.MAX_VALUE)),
features(biepiRepo,"my-feature-to-test")
};
as this prevents fileinstall to trigger bundle updates.
Thanks,
Matteo
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
http://www.talend.com