Browse Source

Merge branch '1.5.x'

pull/7310/head
Andy Wilkinson 9 years ago
parent
commit
9a70a4e261
  1. 11
      spring-boot-cli/src/test/java/org/springframework/boot/cli/SampleIntegrationTests.java

11
spring-boot-cli/src/test/java/org/springframework/boot/cli/SampleIntegrationTests.java

@ -133,8 +133,15 @@ public class SampleIntegrationTests { @@ -133,8 +133,15 @@ public class SampleIntegrationTests {
@Test
public void jmsSample() throws Exception {
String output = this.cli.run("jms.groovy");
assertThat(output).contains("Received Greetings from Spring Boot via Artemis");
System.setProperty("spring.artemis.embedded.queues", "spring-boot");
try {
String output = this.cli.run("jms.groovy");
assertThat(output)
.contains("Received Greetings from Spring Boot via Artemis");
}
finally {
System.clearProperty("spring.artemis.embedded.queues");
}
}
@Test

Loading…
Cancel
Save