Skip to content

Commit e3c2dfa

Browse files
committed
Fix tests
1 parent 6ad8eb1 commit e3c2dfa

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

src/test/kotlin/org/jetbrains/intellij/IntelliJPluginSpec.kt

+12-14
Original file line numberDiff line numberDiff line change
@@ -511,24 +511,22 @@ class IntelliJPluginSpec : IntelliJPluginSpecBase() {
511511

512512
@Test
513513
fun `expect build fails when using unsupported Gradle version`() {
514-
val unsupportedGradleVersions = setOf(
515-
"6.4",
516-
)
517-
518-
unsupportedGradleVersions.forEach { gradleVersion ->
519-
build(
520-
gradleVersion = gradleVersion,
521-
fail = true,
522-
assertValidConfigurationCache = true,
523-
"help",
524-
).apply {
525-
assertContains("Gradle IntelliJ Plugin requires Gradle", output)
526-
assertContains("FAILURE: Build failed with an exception", output)
527-
}
514+
build(
515+
gradleVersion = "6.4",
516+
fail = true,
517+
assertValidConfigurationCache = true,
518+
"help",
519+
).apply {
520+
assertContains("Gradle IntelliJ Plugin requires Gradle", output)
521+
assertContains("FAILURE: Build failed with an exception", output)
528522
}
529523
}
530524

531525
@Test
526+
@Ignore(
527+
"Fails when building with 8.x and running on 7.x via unit tests: " +
528+
"java.lang.NoSuchMethodError: 'org.gradle.internal.buildoption.Option\$Value org.gradle.api.internal.StartParameterInternal.getIsolatedProjects()'"
529+
)
532530
fun `expect successful build using minimal supported Gradle version`() {
533531
val buildResult = build(
534532
gradleVersion = MINIMAL_SUPPORTED_GRADLE_VERSION,

0 commit comments

Comments
 (0)