diff --git a/platform-tests/src/test/java/org/junit/platform/reporting/open/xml/OpenTestReportGeneratingListenerTests.java b/platform-tests/src/test/java/org/junit/platform/reporting/open/xml/OpenTestReportGeneratingListenerTests.java index 6a869b5ec1ed..686844b0857e 100644 --- a/platform-tests/src/test/java/org/junit/platform/reporting/open/xml/OpenTestReportGeneratingListenerTests.java +++ b/platform-tests/src/test/java/org/junit/platform/reporting/open/xml/OpenTestReportGeneratingListenerTests.java @@ -191,7 +191,7 @@ void includesGitInfoWhenEnabled(String originUrl, @TempDir Path tempDirectory) t execGit(tempDirectory, "config", "user.name", "Alice"); execGit(tempDirectory, "config", "user.email", "alice@example.org"); - execGit(tempDirectory, "commit", "-m", "Initial commit"); + execGit(tempDirectory, "commit", "--no-gpg-sign", "-m", "Initial commit"); var engine = new DemoHierarchicalTestEngine("dummy"); @@ -280,6 +280,7 @@ private static ProcessResult tryExecGit(Path workingDir, String... arguments) th System.out.println("$ git " + String.join(" ", arguments)); return new ProcessStarter() // .executable(Path.of("git")) // + .putEnvironment("GIT_CONFIG_GLOBAL", "/dev/null") // https://git-scm.com/docs/git#Documentation/git.txt-GITCONFIGGLOBAL .workingDir(workingDir) // .addArguments(arguments) // .startAndWait();