Commit ced1f36d by Dave Syer

bump spring cloud build version

parent e698fa66
......@@ -10,7 +10,7 @@
<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-build</artifactId>
<version>1.3.1.BUILD-SNAPSHOT</version>
<version>1.3.2.RELEASE</version>
<relativePath />
</parent>
<scm>
......
......@@ -18,6 +18,7 @@ package org.springframework.cloud.netflix.hystrix.stream;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.test.context.SpringBootTest;
......@@ -39,6 +40,12 @@ import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand;
@DirtiesContext
public class HystrixStreamTests {
@Autowired
private HystrixStreamTask task;
@Autowired
private Application application;
@EnableAutoConfiguration
@EnableCircuitBreaker
@RestController
......@@ -58,7 +65,8 @@ public class HystrixStreamTests {
@Test
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