Commit 26c7c362 by Dave Syer

Add property to tests, parameterizing stubs

parent 0642ea52
...@@ -27,6 +27,16 @@ ...@@ -27,6 +27,16 @@
<target>1.8</target> <target>1.8</target>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.20</version>
<configuration>
<systemPropertyVariables>
<projectVersion>${project.version}</projectVersion>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins> </plugins>
</build> </build>
<dependencyManagement> <dependencyManagement>
......
...@@ -64,7 +64,7 @@ import static org.assertj.core.api.Assertions.assertThat; ...@@ -64,7 +64,7 @@ import static org.assertj.core.api.Assertions.assertThat;
// https://github.com/spring-cloud/spring-cloud-netflix/issues/1948 // https://github.com/spring-cloud/spring-cloud-netflix/issues/1948
"spring.cloud.stream.bindings.turbineStreamInput.destination=hystrixStreamOutput", "spring.cloud.stream.bindings.turbineStreamInput.destination=hystrixStreamOutput",
"spring.jmx.enabled=true", "stubrunner.workOffline=true", "spring.jmx.enabled=true", "stubrunner.workOffline=true",
"stubrunner.ids=org.springframework.cloud:spring-cloud-netflix-hystrix-stream" }) "stubrunner.ids=org.springframework.cloud:spring-cloud-netflix-hystrix-stream:${projectVersion:1.4.0.BUILD-SNAPSHOT}:stubs" })
@AutoConfigureStubRunner @AutoConfigureStubRunner
public class TurbineStreamTests { public class TurbineStreamTests {
......
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