Comment out milestone versions and related tests.

See gh-1625
This commit is contained in:
spencergibb
2021-03-17 15:09:29 -04:00
parent 336ff2ce30
commit 8a5b89753d
2 changed files with 7 additions and 4 deletions

View File

@@ -106,11 +106,11 @@
<artifactId>spring-cloud-contract-verifier</artifactId> <artifactId>spring-cloud-contract-verifier</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <!--<dependency>
<groupId>com.example.github</groupId> <groupId>com.example.github</groupId>
<artifactId>github-webhook</artifactId> <artifactId>github-webhook</artifactId>
<classifier>stubs</classifier> <classifier>stubs</classifier>
<version>1.0.0.M1-190120_193303-VERSION</version> <version>1.0.0.1-190120_193303-VERSION</version>
<scope>test</scope> <scope>test</scope>
<exclusions> <exclusions>
<exclusion> <exclusion>
@@ -123,7 +123,7 @@
<groupId>com.example.github</groupId> <groupId>com.example.github</groupId>
<artifactId>github-analytics</artifactId> <artifactId>github-analytics</artifactId>
<classifier>stubs</classifier> <classifier>stubs</classifier>
<version>1.0.0.M1-190120_105104-VERSION</version> <version>1.0.0.1-190120_105104-VERSION</version>
<scope>test</scope> <scope>test</scope>
<exclusions> <exclusions>
<exclusion> <exclusion>
@@ -131,7 +131,7 @@
<artifactId>*</artifactId> <artifactId>*</artifactId>
</exclusion> </exclusion>
</exclusions> </exclusions>
</dependency> </dependency>-->
<dependency> <dependency>
<groupId>org.junit.vintage</groupId> <groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId> <artifactId>junit-vintage-engine</artifactId>

View File

@@ -17,6 +17,7 @@
package org.springframework.cloud.contract.wiremock; package org.springframework.cloud.contract.wiremock;
import org.assertj.core.api.BDDAssertions; import org.assertj.core.api.BDDAssertions;
import org.junit.Ignore;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
@@ -40,6 +41,7 @@ public class AutoConfigureWireMockFilesApplicationWithUrlResourceTests {
int wiremockPort; int wiremockPort;
@Test @Test
@Ignore
public void should_work_for_analytics() throws Exception { public void should_work_for_analytics() throws Exception {
String count = new RestTemplate().getForObject("http://localhost:" + this.wiremockPort + "/issues/count", String count = new RestTemplate().getForObject("http://localhost:" + this.wiremockPort + "/issues/count",
String.class); String.class);
@@ -48,6 +50,7 @@ public class AutoConfigureWireMockFilesApplicationWithUrlResourceTests {
} }
@Test @Test
@Ignore
public void should_work_for_webhook() throws Exception { public void should_work_for_webhook() throws Exception {
String response = new RestTemplate().getForObject("http://localhost:" + this.wiremockPort + "/", String.class); String response = new RestTemplate().getForObject("http://localhost:" + this.wiremockPort + "/", String.class);