diff --git a/hystrix-amqp/src/test/java/demo/HystrixApplicationTests.java b/hystrix-amqp/src/test/java/demo/HystrixApplicationTests.java index bff821b..7535654 100644 --- a/hystrix-amqp/src/test/java/demo/HystrixApplicationTests.java +++ b/hystrix-amqp/src/test/java/demo/HystrixApplicationTests.java @@ -57,7 +57,7 @@ public class HystrixApplicationTests { byte[] buffer = new byte[1024]; in.read(buffer); String contents = new String(buffer); - assertTrue(contents.contains("ping")); + assertTrue("Wrong content: \n" + contents, contents.contains("data")); in.close(); } } diff --git a/hystrix/src/test/java/demo/HystrixApplicationTests.java b/hystrix/src/test/java/demo/HystrixApplicationTests.java index bff821b..7535654 100644 --- a/hystrix/src/test/java/demo/HystrixApplicationTests.java +++ b/hystrix/src/test/java/demo/HystrixApplicationTests.java @@ -57,7 +57,7 @@ public class HystrixApplicationTests { byte[] buffer = new byte[1024]; in.read(buffer); String contents = new String(buffer); - assertTrue(contents.contains("ping")); + assertTrue("Wrong content: \n" + contents, contents.contains("data")); in.close(); } } diff --git a/pom.xml b/pom.xml index bbc0f0e..33a1371 100644 --- a/pom.xml +++ b/pom.xml @@ -4,11 +4,11 @@ org.springframework.boot spring-boot-starter-parent - 1.3.7.RELEASE + 1.4.0.RELEASE spring-cloud-samples-tests - 1.1.2.BUILD-SNAPSHOT + 1.2.0.BUILD-SNAPSHOT pom Spring Cloud Samples Tests Spring Cloud Samples Tests