The teardown faile on Windows because the repos were not closed.
Change-Id: I16cf5645558680029682f898386b061796948237
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
import org.eclipse.jgit.errors.RepositoryNotFoundException;
import org.eclipse.jgit.lib.Repository;
import org.eclipse.jgit.lib.RepositoryTestCase;
+import org.junit.After;
import org.junit.Before;
import org.junit.Test;
.getRepository();
}
+ @Override
+ @After
+ public void tearDown() throws Exception {
+ db.close();
+ bareRepo.close();
+ super.tearDown();
+ }
+
@Test
public void testWrap() {
Git git = Git.wrap(db);