Close the repo in CloneCommandTest
The test failed on Windows only Change-Id: Ibff5308b33deb73570626a08a04e86ad8f418023
This commit is contained in:
parent
3a4fa52723
commit
96b801f02b
|
@ -221,6 +221,7 @@ public void testCloneRepositoryWhenDestinationDirectoryExistsAndIsNotEmpty()
|
|||
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…
Reference in New Issue