renamed integration test to manual test (#8934)

* renamed integration test to manual test

* added comments in manual test case
This commit is contained in:
Amit Pandey 2020-03-31 19:25:52 +05:30 committed by GitHub
parent b2a07b9fdf
commit 8c69054bec
1 changed files with 12 additions and 4 deletions

View File

@ -10,10 +10,18 @@ import org.junit.Test;
import java.io.IOException; import java.io.IOException;
import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNotNull;
/** public class JGitBugManualTest {
* Tests which show issues with JGit that we reported upstream.
/**
* This test case expects one git repository to be present in local file system.
* Currently this test uses the Baeldung repository i.e. the current checkout repository.
* It finds the repository by tracking back and scan file system to find .git folder in
* the file system.
*
* Before running the test case ensure that the .git folder is present.
*
* @throws IOException
*/ */
public class JGitBugIntegrationTest {
@Test @Test
public void testRevWalkDisposeClosesReader() throws IOException { public void testRevWalkDisposeClosesReader() throws IOException {
try (Repository repo = Helper.openJGitRepository()) { try (Repository repo = Helper.openJGitRepository()) {