Add animal sniffer for Java 6 and jdk1.8 to actuator

The build now requires java 8 (although no language features are yet
in use). Bamboo has been updated.

Fixes gh-716
This commit is contained in:
Dave Syer
2015-03-30 10:39:41 +01:00
parent fbe9774890
commit c9c1e8b517
3 changed files with 37 additions and 1 deletions

View File

@@ -42,7 +42,7 @@ public class CommandLineIT {
InterruptedException {
Invocation cli = this.cli.invoke("hint");
assertThat(cli.await(), equalTo(0));
assertThat(cli.getErrorOutput().length(), equalTo(0));
assertThat("Unexpected error: \n" + cli.getErrorOutput(), cli.getErrorOutput().length(), equalTo(0));
assertThat(cli.getStandardOutputLines().size(), equalTo(10));
}