Added debugging to BatchEventsApplicationTests

This commit is contained in:
Glenn Renfro
2017-04-14 13:13:27 -04:00
parent 1fddb9678a
commit f01b33200d

View File

@@ -42,7 +42,9 @@ public class BatchEventsApplicationTests {
@Test
public void testExecution() throws Exception {
SpringApplication.run(BatchEventsApplication.class, "--server.port=0", "--spring.cloud.stream.bindings.output.producer.requiredGroups=testgroup");
SpringApplication.run(BatchEventsApplication.class, "--server.port=0",
"--spring.cloud.stream.bindings.output.producer.requiredGroups=testgroup",
"--logging.level.org.springframework.integration=DEBUG");
Assert.assertTrue("The latch did not count down to zero before timeout",
jobExecutionLatch.await(60, TimeUnit.SECONDS));
}