Skip to content

Commit

Permalink
fix: TaskLauncherTaskletTests with utee
Browse files Browse the repository at this point in the history
  • Loading branch information
klopfdreh committed Jul 17, 2023
1 parent b09abbb commit a3caa86
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ public void testTaskOperationsConfiguredWithMissingUsername() {
private void createCompleteTaskExecution(int exitCode, String... message) {
TaskExecution taskExecution = this.taskRepository.createTaskExecution();
this.taskRepository.completeTaskExecution(taskExecution.getExecutionId(),
exitCode, new Date(), message != null ? message[0] : "");
exitCode, new Date(), message != null && message.length > 0 ? message[0] : "");
}

private void createAndStartCompleteTaskExecution(int exitCode, JobExecution jobExecution) {
Expand Down

0 comments on commit a3caa86

Please sign in to comment.