Bug 578546 - Close Repositorie in tests
Summary: Close Repositorie in tests
Status: RESOLVED FIXED
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X
: P3 trivial (vote)
Target Milestone: 6.1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-02 14:05 EST by Fabio Ponciroli CLA
Modified: 2022-02-02 17:14 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Ponciroli CLA 2022-02-02 14:05:11 EST
The FetchAndPullCommandsRecurseSubmodulesTest#updateSubmoduleRevision method doesn't close the Repository during the tests.

This generates a "Resource leak" warning during compilation.
Comment 1 Eclipse Genie CLA 2022-02-02 14:08:04 EST
New Gerrit change created: https://git.eclipse.org/r/c/jgit/jgit/+/190334