Checks for invalid ExecutionId in the TaskLifeCycleListener
resolves #115 * Fixes bug where if the user set the environment variable and commandline args a unique constraint would fire. * Updated docs * Removed deprecation * Fixed version number for integration test. Added integration tests for externally generated task executions Add externalExecutionId resolves #80
This commit is contained in:
@@ -278,7 +278,7 @@ public class JobExecutionEventTests {
|
||||
EventJobExecutionConfiguration.class,
|
||||
PropertyPlaceholderAutoConfiguration.class,
|
||||
TestSupportBinderAutoConfiguration.class},
|
||||
new String[]{"--spring.cloud.task.closecontext.enable=false",
|
||||
new String[]{"--spring.cloud.task.closecontext_enable=false",
|
||||
"--spring.main.web-environment=false",
|
||||
disabledPropertyArg});
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ public class TaskEventTests {
|
||||
TaskEventAutoConfiguration.class,
|
||||
PropertyPlaceholderAutoConfiguration.class,
|
||||
TestSupportBinderAutoConfiguration.class},
|
||||
new String[]{ "--spring.cloud.task.closecontext.enable=false",
|
||||
new String[]{ "--spring.cloud.task.closecontext_enable=false",
|
||||
"--spring.main.web-environment=false"});
|
||||
|
||||
assertNotNull(applicationContext.getBean("taskEventListener"));
|
||||
|
||||
Reference in New Issue
Block a user