Skip to content

Commit

Permalink
Upgrade jgit to 6.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
barchetta committed Sep 14, 2023
1 parent 0b2952a commit 8cd67e7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import java.io.File;
import java.io.IOException;
import java.lang.reflect.Method;
import java.net.URI;
import java.nio.file.Path;
import java.nio.file.Paths;
Expand All @@ -41,6 +42,7 @@
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestInfo;
import org.junit.jupiter.api.extension.RegisterExtension;
import org.junit.rules.TestName;

import static io.helidon.config.PollingStrategies.regular;
import static io.helidon.config.testing.ValueNodeMatcher.valueNode;
Expand All @@ -62,6 +64,17 @@ public class GitConfigSourceBuilderTest extends RepositoryTestCase {

@BeforeEach
public void setUp(TestInfo testInfo) throws Exception {
String testMethodName = testInfo.getTestMethod()
.map(Method::getName)
.orElse(this.getClass().getName());
/* Hack to let us re-use setup from jgit 6's LocalDiskRepositoryTestCase */
super.currentTest = new TestName() {
@Override
public String getMethodName() {
return testMethodName;
}
};

super.setUp();

git = new Git(db);
Expand Down
2 changes: 1 addition & 1 deletion dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
<version.lib.jaxb-runtime>3.0.2</version.lib.jaxb-runtime>
<version.lib.jedis>3.6.3</version.lib.jedis>
<version.lib.jersey>3.0.11</version.lib.jersey>
<version.lib.jgit>5.11.1.202105131744-r</version.lib.jgit>
<version.lib.jgit>6.7.0.202309050840-r</version.lib.jgit>
<version.lib.jsonp-impl>2.0.1</version.lib.jsonp-impl>
<version.lib.junit>5.7.0</version.lib.junit>
<version.lib.kafka>3.4.0</version.lib.kafka>
Expand Down

0 comments on commit 8cd67e7

Please sign in to comment.