Skip to content

Commit

Permalink
[CI] Fix BuildParameterExtensionSpec
Browse files Browse the repository at this point in the history
  • Loading branch information
breskeby committed Dec 23, 2024
1 parent 964e02d commit 0082971
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

package org.elasticsearch.gradle.internal.info

import spock.lang.Ignore

import spock.lang.Specification

import org.gradle.api.JavaVersion
Expand All @@ -21,7 +21,6 @@ import org.junit.Assert

import java.util.concurrent.CountDownLatch
import java.util.concurrent.Executors
import java.util.concurrent.Future
import java.util.concurrent.TimeUnit
import java.util.concurrent.atomic.AtomicInteger

Expand All @@ -31,7 +30,6 @@ class BuildParameterExtensionSpec extends Specification {

ProjectBuilder projectBuilder = new ProjectBuilder()

@Ignore
def "#getterName is cached anc concurrently accessible"() {
given:
def project = projectBuilder.build()
Expand Down Expand Up @@ -59,7 +57,7 @@ class BuildParameterExtensionSpec extends Specification {

then:

futures.any { it.isCancelled() || it.isDone() == false } == false
futures.every { it.isDone() && it.isCancelled() == false }
where:
getterName << [
"getRuntimeJavaHome",
Expand Down

0 comments on commit 0082971

Please sign in to comment.