Commit ced1f36d by Dave Syer

bump spring cloud build version

parent e698fa66
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<parent> <parent>
<groupId>org.springframework.cloud</groupId> <groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-build</artifactId> <artifactId>spring-cloud-build</artifactId>
<version>1.3.1.BUILD-SNAPSHOT</version> <version>1.3.2.RELEASE</version>
<relativePath /> <relativePath />
</parent> </parent>
<scm> <scm>
......
...@@ -18,6 +18,7 @@ package org.springframework.cloud.netflix.hystrix.stream; ...@@ -18,6 +18,7 @@ package org.springframework.cloud.netflix.hystrix.stream;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.test.context.SpringBootTest;
...@@ -39,6 +40,12 @@ import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand; ...@@ -39,6 +40,12 @@ import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand;
@DirtiesContext @DirtiesContext
public class HystrixStreamTests { public class HystrixStreamTests {
@Autowired
private HystrixStreamTask task;
@Autowired
private Application application;
@EnableAutoConfiguration @EnableAutoConfiguration
@EnableCircuitBreaker @EnableCircuitBreaker
@RestController @RestController
...@@ -58,7 +65,8 @@ public class HystrixStreamTests { ...@@ -58,7 +65,8 @@ public class HystrixStreamTests {
@Test @Test
public void contextLoads() { public void contextLoads() {
this.application.hello();
this.task.gatherMetrics();
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment