summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Rosenberg <robin.rosenberg@dewire.com>2011-10-26 22:14:20 +0200
committerRobin Rosenberg <robin.rosenberg@dewire.com>2011-10-26 22:59:39 +0200
commit96b801f02b57c5be6356e172c214252d67e8ece7 (patch)
tree81de6a059ea14333ffeb025137bb56f613cca914
parent3a4fa527231622c7e0703ea45474fc09343ae93e (diff)
downloadjgit-96b801f02b57c5be6356e172c214252d67e8ece7.tar.gz
jgit-96b801f02b57c5be6356e172c214252d67e8ece7.zip
Close the repo in CloneCommandTest
The test failed on Windows only Change-Id: Ibff5308b33deb73570626a08a04e86ad8f418023
-rw-r--r--org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CloneCommandTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CloneCommandTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CloneCommandTest.java
index 76aed91b6d..f16fe83d6a 100644
--- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CloneCommandTest.java
+++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CloneCommandTest.java
@@ -221,6 +221,7 @@ public class CloneCommandTest extends RepositoryTestCase {
command.setDirectory(directory);
command.setURI("file://" + git.getRepository().getWorkTree().getPath());
Git git2 = command.call();
+ addRepoToClose(git2.getRepository());
assertNotNull(git2);
// clone again
command = Git.cloneRepository();