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>
<scope>test</scope>
</dependency>
<dependency>
<!--<dependency>
<groupId>com.example.github</groupId>
<artifactId>github-webhook</artifactId>
<classifier>stubs</classifier>
<version>1.0.0.M1-190120_193303-VERSION</version>
<version>1.0.0.1-190120_193303-VERSION</version>
<scope>test</scope>
<exclusions>
<exclusion>
@@ -123,7 +123,7 @@
<groupId>com.example.github</groupId>
<artifactId>github-analytics</artifactId>
<classifier>stubs</classifier>
<version>1.0.0.M1-190120_105104-VERSION</version>
<version>1.0.0.1-190120_105104-VERSION</version>
<scope>test</scope>
<exclusions>
<exclusion>
@@ -131,7 +131,7 @@
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependency>-->
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>

View File

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