diff options
author | Robin Rosenberg <robin.rosenberg@dewire.com> | 2011-10-26 22:14:20 +0200 |
---|---|---|
committer | Robin Rosenberg <robin.rosenberg@dewire.com> | 2011-10-26 22:59:39 +0200 |
commit | 96b801f02b57c5be6356e172c214252d67e8ece7 (patch) | |
tree | 81de6a059ea14333ffeb025137bb56f613cca914 | |
parent | 3a4fa527231622c7e0703ea45474fc09343ae93e (diff) | |
download | jgit-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.java | 1 |
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(); |