From 19c663c8c1c1d5b9522b7cb93fdb611722629d93 Mon Sep 17 00:00:00 2001 From: Ronald Holshausen Date: Wed, 4 Dec 2024 10:24:23 +1100 Subject: [PATCH] chore: The pact-jvm-server main spec was not configured correctly --- pact-jvm-server/build.gradle | 2 +- .../src/test/groovy/au/com/dius/pact/server/MainSpec.groovy | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pact-jvm-server/build.gradle b/pact-jvm-server/build.gradle index 1f5aab28f..211dfa5f8 100644 --- a/pact-jvm-server/build.gradle +++ b/pact-jvm-server/build.gradle @@ -43,7 +43,7 @@ java { } test { - dependsOn(':pact-jvm-server:assembleDist') + dependsOn(':pact-jvm-server:installDist') systemProperty('appExecutable', (new File(buildDir, 'install/pact-jvm-server/bin/pact-jvm-server')).path) } diff --git a/pact-jvm-server/src/test/groovy/au/com/dius/pact/server/MainSpec.groovy b/pact-jvm-server/src/test/groovy/au/com/dius/pact/server/MainSpec.groovy index b4831b4f7..76b7f328d 100644 --- a/pact-jvm-server/src/test/groovy/au/com/dius/pact/server/MainSpec.groovy +++ b/pact-jvm-server/src/test/groovy/au/com/dius/pact/server/MainSpec.groovy @@ -4,10 +4,13 @@ import groovy.json.JsonSlurper import org.apache.hc.client5.http.fluent.Request import org.apache.hc.core5.http.ContentType import org.apache.hc.core5.http.HttpResponse +import spock.lang.IgnoreIf import spock.lang.Specification import java.util.concurrent.TimeUnit +@IgnoreIf({ os.windows }) +@IgnoreIf({ System.getenv('CI') != null }) class MainSpec extends Specification { def 'application command line args'() { when: