Browse Source

Close the repo in CloneCommandTest

The test failed on Windows only

Change-Id: Ibff5308b33deb73570626a08a04e86ad8f418023
tags/v1.2.0.201112221803-r
Robin Rosenberg 12 years ago
parent
commit
96b801f02b

+ 1
- 0
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CloneCommandTest.java View File

@@ -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();

Loading…
Cancel
Save