Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Merks2020-02-22 10:02:43 +0000
committerEd Merks2020-02-22 10:02:43 +0000
commite106d1748390fa8eceea9d6115444fe9a95da58a (patch)
treef113b208b522248e3151e9fea0c7a06b692a898d /bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2
parentdddebda0501e8d77238cba45559172be2e830ef9 (diff)
downloadrt.equinox.p2-e106d1748390fa8eceea9d6115444fe9a95da58a.tar.gz
rt.equinox.p2-e106d1748390fa8eceea9d6115444fe9a95da58a.tar.xz
rt.equinox.p2-e106d1748390fa8eceea9d6115444fe9a95da58a.zip
Bug 545045 - Cancellation.testCancellation fails on Windows
This test only runs on Windows but I think it should be able to run on any platform so I've enabled that to see if this is the case. Hopefully this will run in the Gerrit verification job, but then it might fail unless it's really using the verification application's changes built in that Gerrit job. We'll see. The failure I'm pretty sure the failure is caused by the fact that the saving the profile preference is done by a job with a delayed schedule and that the verification application terminates before the save actually happens, so I've added join. I'm pretty sure of this because if I remote debug the launched verification application set breakpoints such that the preferences are really saved, the test runs without failure. But it's hard to test this without committing because it appears the verification application comes from the zip file being tested, not from the workspace version that I've changed. Change-Id: Ic30c06cb4c44ac75842c863d6f7a0360d2137555 Signed-off-by: Ed Merks <ed.merks@gmail.com>
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2')
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sharedinstall/Cancellation.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sharedinstall/Cancellation.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sharedinstall/Cancellation.java
index fcd7b5735..db8867449 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sharedinstall/Cancellation.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sharedinstall/Cancellation.java
@@ -17,7 +17,6 @@ package org.eclipse.equinox.p2.tests.sharedinstall;
import java.util.Properties;
import junit.framework.Test;
import junit.framework.TestSuite;
-import org.eclipse.core.runtime.Platform;
import org.eclipse.equinox.p2.tests.reconciler.dropins.ReconcilerTestSuite;
public class Cancellation extends AbstractSharedInstallTest {
@@ -34,8 +33,6 @@ public class Cancellation extends AbstractSharedInstallTest {
}
public void testCancellation() {
- if (!Platform.getOS().equals(Platform.OS_WIN32))
- return;
assertInitialized();
setupReadOnlyInstall();
System.out.println(readOnlyBase);

Back to the top