Bug 350260 - [server][clone] GitCloneTest#testCloneAlreadyExists prints a stack trace on console
Summary: [server][clone] GitCloneTest#testCloneAlreadyExists prints a stack trace on c...
Status: CLOSED DUPLICATE of bug 345898
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: Git (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: test
Depends on:
Blocks:
 
Reported: 2011-06-24 09:53 EDT by Tomasz Zarna CLA
Modified: 2011-07-27 05:58 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Zarna CLA 2011-06-24 09:53:57 EDT
The test passes but prints a stack trace on the console. This doesn't look good and may cause confusion.

java.io.IOException: Destination folder already exists and contains a
repository
        at
org.eclipse.orion.server.git.servlets.CloneJob.doClone(CloneJob.java:71)

Similar to bug 345898.
Comment 1 John Arthorne CLA 2011-06-24 10:20:47 EDT
Note this was in the error log rather than the console. It's sometimes hard to avoid this because in the "real world" we of course want those errors to appear in the log.
Comment 2 Tomasz Zarna CLA 2011-07-27 05:58:37 EDT
Bug 345898 is going to fix both bugs.

*** This bug has been marked as a duplicate of bug 345898 ***