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

Bug 443989

Summary: [tests] GitCloneTest.testCloneNotGitRepository fails on the Hudson server
Product: [ECD] Orion Reporter: Anthony Hunter <ahunter.eclipse>
Component: ServerAssignee: Anthony Hunter <ahunter.eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 7.0   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Anthony Hunter CLA 2014-09-12 15:16:52 EDT
This test creates an empty folder using createTempDir() and them makes sure that the folder and it's parents are not a git repository.

This fails on the Hudson job orion-server-dev since Hudson clones the org.eclipse.orion.server git repository into workspace/.git and the tests folder is under workspace/tests/org.eclipse.orion.server.tests/target/work/data, so it has a parent that is a git repository.

It should be sufficient in the testCloneNotGitRepository test to just make sure that the new folder is empty and not a git repository, given we just created it one line above.