Removing @Ignores
This commit is contained in:
@@ -2,7 +2,6 @@ package demo;
|
||||
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -20,7 +19,6 @@ public class StandaloneClientApplicationTests {
|
||||
private ConfigServicePropertySourceLocator locator;
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void contextLoads() throws Exception {
|
||||
assertNotNull(this.locator);
|
||||
}
|
||||
|
||||
@@ -7,7 +7,6 @@ import static org.junit.Assert.assertTrue;
|
||||
import java.io.InputStream;
|
||||
import java.net.URL;
|
||||
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.boot.web.server.LocalServerPort;
|
||||
@@ -28,7 +27,6 @@ public class HystrixApplicationTests {
|
||||
int port;
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void testOk() {
|
||||
ResponseEntity<String> response = new TestRestTemplate().getForEntity("http://localhost:" + port, String.class);
|
||||
assertNotNull("response was null", response);
|
||||
@@ -37,7 +35,6 @@ public class HystrixApplicationTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void testFallback() {
|
||||
ResponseEntity<String> response = new TestRestTemplate().getForEntity("http://localhost:" + port+"/fail", String.class);
|
||||
assertNotNull("response was null", response);
|
||||
@@ -46,7 +43,6 @@ public class HystrixApplicationTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void hystrixStreamWorks() throws Exception {
|
||||
String url = "http://localhost:" + port;
|
||||
//you have to hit a Hystrix circuit breaker before the stream sends anything
|
||||
|
||||
@@ -2,7 +2,6 @@ package demo;
|
||||
|
||||
import static org.junit.Assert.assertTrue;
|
||||
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -23,12 +22,10 @@ public class TurbineStreamApplicationTests {
|
||||
DiscoveryClient discoveryClient;
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void contextLoads() {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void discoveryClientIsEureka() {
|
||||
assertTrue("discoveryClient is wrong type " + discoveryClient.getClass(), discoveryClient instanceof CompositeDiscoveryClient);
|
||||
CompositeDiscoveryClient compositeDiscoveryClient = (CompositeDiscoveryClient)discoveryClient;
|
||||
|
||||
Reference in New Issue
Block a user