Added debugging to BatchEventsApplicationTests
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user