Commit d7ef48a9 authored by Andy Wilkinson's avatar Andy Wilkinson

Merge branch '1.4.x' into 1.5.x

parents 2e76687d 2c4f3904
......@@ -144,8 +144,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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment