Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDJ Houghton2010-12-23 18:12:33 +0000
committerDJ Houghton2010-12-23 18:12:33 +0000
commitbb2fff87b9edef35e79fdeb17784618ee79527d4 (patch)
tree919debbf2234a97ba441989fa68d0dcc246d03b6 /bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/engine
parentbdfa61c419aa8752be72381460d4ad3441769b97 (diff)
downloadrt.equinox.p2-bb2fff87b9edef35e79fdeb17784618ee79527d4.tar.gz
rt.equinox.p2-bb2fff87b9edef35e79fdeb17784618ee79527d4.tar.xz
rt.equinox.p2-bb2fff87b9edef35e79fdeb17784618ee79527d4.zip
Bug 333103 - [tests] Failures in nightly build
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/engine')
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/engine/EngineTest.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/engine/EngineTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/engine/EngineTest.java
index abe56f7af..d96fe7a4f 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/engine/EngineTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/engine/EngineTest.java
@@ -793,7 +793,9 @@ public class EngineTest extends AbstractProvisioningTest {
}
};
try {
- engine.perform(engine.createPlan(profile, null), new NullProgressMonitor());
+ IProvisioningPlan plan = engine.createPlan(profile, null);
+ plan.addInstallableUnit(createOSGiIU());
+ engine.perform(plan, new NullProgressMonitor());
} catch (IllegalArgumentException expected) {
return;
}

Back to the top