Skip to content

Commit

Permalink
Skip failing jgit tests on Java 8
Browse files Browse the repository at this point in the history
For some reason, smoke tests using jgit start failing with
"org/eclipse/jgit/api/errors/JGitInternalException has been compiled by
a more recent version of the Java Runtime (class file version 55.0)"
today. Before we figure out, disable them on Java 8 executer.
  • Loading branch information
blindpirate committed Nov 30, 2021
1 parent 1a6d0cd commit 2310c2a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@

package org.gradle.smoketests

import org.gradle.util.Requires
import org.gradle.util.TestPrecondition

@Requires(TestPrecondition.JDK11_OR_LATER)
class GradleGitPropertiesSmokeTest extends AbstractPluginValidatingSmokeTest {
@Override
Map<String, Versions> getPluginsToValidate() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@
package org.gradle.smoketests

import org.gradle.integtests.fixtures.ToBeFixedForConfigurationCache
import org.gradle.util.Requires
import org.gradle.util.TestPrecondition
import org.gradle.vcs.fixtures.GitFileRepository
import spock.lang.Issue

import static org.gradle.testkit.runner.TaskOutcome.SUCCESS

@Requires(TestPrecondition.JDK11_OR_LATER)
class JGitPluginSmokeTest extends AbstractPluginValidatingSmokeTest {

@Issue('https://plugins.gradle.org/plugin/org.ajoberstar.grgit')
@ToBeFixedForConfigurationCache(because = "Gradle.buildFinished")
def 'org.ajoberstar.grgit plugin'() {
Expand Down

0 comments on commit 2310c2a

Please sign in to comment.