Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 332837

Summary: Test failures in nightly build
Product: [Eclipse Project] Equinox Reporter: DJ Houghton <dj.houghton>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: pascal
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description DJ Houghton CLA 2010-12-17 07:09:40 EST
There are test failures in the nightly build.
I believe they are related to the change for bug 332655.

expected:<2> but was:<3>
junit.framework.AssertionFailedError: expected:<2> but was:<3>
at org.eclipse.equinox.p2.tests.planner.NoUnecessaryIUProperty.testIUExtraneousPlanEntry(NoUnecessaryIUProperty.java:46)
at org.eclipse.equinox.p2.tests.AbstractProvisioningTest.runTest(AbstractProvisioningTest.java:920)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:416)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:249)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:36)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:32)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
at org.eclipse.core.launcher.Main.main(Main.java:34)
Comment 1 Pascal Rapicault CLA 2010-12-17 07:48:42 EST
Given that I fixed this yesterday night. It is likely that the test got caught in the build but not the fix itself.
DJ, could you please verify that the test is passing on your machine.
Sorry for the inconvenience.
Comment 2 DJ Houghton CLA 2010-12-17 08:12:38 EST
Yep the tests pass on my machine and the code was released just after the build started so I'll close this report.