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

Bug 416846

Summary: GitCloneTest#testDeleteInProject failing
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: GitAssignee: Anthony Hunter <ahunter.eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ahunter.eclipse
Version: 3.0   
Target Milestone: 5.0 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Arthorne CLA 2013-09-09 10:33:49 EDT
This test seems to be failing consistently. I can reproduce it locally as well.

expected:<404> but was:<200>

java.lang.AssertionError: expected:<404> but was:<200>
at org.eclipse.orion.server.tests.servlets.git.GitCloneTest.testDeleteInProject(GitCloneTest.java:635)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:655)
Comment 1 John Arthorne CLA 2013-09-09 10:39:31 EDT
The test does this:

 - Create a project
 - Clone a repository into it
 - Delete the clone
 - Assert that the project is deleted

-> Deleting a clone is removing project contents but not deleting the project itself. I suspect this is related to Anthony's work.
Comment 2 Anthony Hunter CLA 2013-10-30 12:06:08 EDT
Will check, I do not think the test is failing anymore.
Comment 3 Anthony Hunter CLA 2013-11-01 11:51:39 EDT
This problem no longer occurs, resolved by Bug 420679 and Bug 420681.