Fix tests a bit more

This commit is contained in:
Dave Syer
2016-08-27 15:47:03 +01:00
parent 1eb0561d74
commit 97ac596ac6
2 changed files with 2 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ public class HystrixApplicationTests {
byte[] buffer = new byte[1024];
in.read(buffer);
String contents = new String(buffer);
assertTrue("Wrong content: \n" + contents, contents.contains("data"));
assertTrue("Wrong content: \n" + contents, contents.contains("data") || contents.contains("ping"));
in.close();
}
}

View File

@@ -57,7 +57,7 @@ public class HystrixApplicationTests {
byte[] buffer = new byte[1024];
in.read(buffer);
String contents = new String(buffer);
assertTrue("Wrong content: \n" + contents, contents.contains("data"));
assertTrue("Wrong content: \n" + contents, contents.contains("data") || contents.contains("ping"));
in.close();
}
}