Bug 373800

Summary: Error in GitStatusTest.testConflict "expected:<409> but was:<500>"
Product: [ECD] Orion (Archived) Reporter: Tomasz Zarna <tomasz.zarna>
Component: GitAssignee: Tomasz Zarna <tomasz.zarna>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 Keywords: test
Version: 0.5   
Target Milestone: 0.5 M1   
Hardware: PC   
OS: Windows XP   
URL: http://download.eclipse.org/orion/drops/I201203082230/org.eclipse.orion.server.tests.AllServerTests.html
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

Description Tomasz Zarna CLA 2012-03-09 09:31:46 EST
testCheckoutAborted	Error	expected:<409> but was:<500>

java.lang.AssertionError: expected:<409> but was:<500>
at org.eclipse.orion.server.tests.servlets.git.GitCheckoutTest.testCheckoutAborted(GitCheckoutTest.java:518)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:501)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:259)
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:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:628)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:583)
at org.eclipse.equinox.launcher.Main.run(Main.java:1437)
at org.eclipse.equinox.launcher.Main.main(Main.java:1413)
at org.eclipse.core.launcher.Main.main(Main.java:34)

===

testConflict	Error	N/A

java.lang.NullPointerException
at org.eclipse.orion.server.tests.servlets.git.GitStatusTest.testConflict(GitStatusTest.java:577)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:501)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:259)
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:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:628)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:583)
at org.eclipse.equinox.launcher.Main.run(Main.java:1437)
at org.eclipse.equinox.launcher.Main.main(Main.java:1413)
at org.eclipse.core.launcher.Main.main(Main.java:34)
Comment 1 Tomasz Zarna CLA 2012-03-09 09:33:56 EST
The latter has been already reported in bug 372489.
Comment 2 Tomasz Zarna CLA 2012-03-09 10:53:00 EST
(In reply to comment #0)
> testCheckoutAborted	Error	expected:<409> but was:<500>

Caused by a breaking API change from bug 356922. Fixed in Orion with 952f391069d4c07dd715680315870a9019438c97
Comment 3 Tomasz Zarna CLA 2012-03-09 10:53:21 EST
Created attachment 212392 [details]
mylyn/context/zip