Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2017-09-21 11:08:58 +0000
committerThomas Watson2017-09-22 19:16:57 +0000
commit625a656a844451738afa2062c16432e390ed63b1 (patch)
tree37866dcb635bf4d3ce548cfa77c4121eb58d6d41 /bundles/org.eclipse.equinox.p2.tests
parent8e6983eab7b45fbe90282303641fe76d2d3b4971 (diff)
downloadrt.equinox.p2-625a656a844451738afa2062c16432e390ed63b1.tar.gz
rt.equinox.p2-625a656a844451738afa2062c16432e390ed63b1.tar.xz
rt.equinox.p2-625a656a844451738afa2062c16432e390ed63b1.zip
Bug 514333 - Preferences store access can lead to unattended workspaceI20170922-2000
location initialization Pass -Dosgi.dataAreaRequiresExplicitInit=false to p2 tests. Change-Id: Ica802b795f38455b95a74bb9573300def0f40da1 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests')
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/AbstractReconcilerTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/AbstractReconcilerTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/AbstractReconcilerTest.java
index 2a1dfc8a9..bf1caa052 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/AbstractReconcilerTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/AbstractReconcilerTest.java
@@ -609,7 +609,7 @@ public class AbstractReconcilerTest extends AbstractProvisioningTest {
List<String> command = new ArrayList<>();
Collections.addAll(command, new String[] {(new File(location == null ? output : location, getExeFolder() + "eclipse")).getAbsolutePath(), "--launcher.suppressErrors", "-nosplash", "-vm", exe.getAbsolutePath()});
Collections.addAll(command, args);
- Collections.addAll(command, new String[] {"-vmArgs", "-Dosgi.checkConfiguration=true"});
+ Collections.addAll(command, new String[] {"-vmArgs", "-Dosgi.checkConfiguration=true", "-Dosgi.dataAreaRequiresExplicitInit=false"});
// command-line if you want to run and allow a remote debugger to connect
if (debug)
Collections.addAll(command, new String[] {"-Xdebug", "-Xnoagent", "-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8787"});

Back to the top