Fix hystrix tests (wrong assertion)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
4
pom.xml
4
pom.xml
@@ -4,11 +4,11 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
<version>1.3.7.RELEASE</version>
|
||||
<version>1.4.0.RELEASE</version>
|
||||
<relativePath/>
|
||||
</parent>
|
||||
<artifactId>spring-cloud-samples-tests</artifactId>
|
||||
<version>1.1.2.BUILD-SNAPSHOT</version>
|
||||
<version>1.2.0.BUILD-SNAPSHOT</version>
|
||||
<packaging>pom</packaging>
|
||||
<name>Spring Cloud Samples Tests</name>
|
||||
<description>Spring Cloud Samples Tests</description>
|
||||
|
||||
Reference in New Issue
Block a user