-
Notifications
You must be signed in to change notification settings - Fork 42
Add an occasional message when a task execution fails to complete for a long time LMCROSSITXSADEPLOY-3279 #1704
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an occasional message when a task execution fails to complete for a long time LMCROSSITXSADEPLOY-3279 #1704
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add some meaningful commit message and add ticket id at different line(reverse commit message lines)
...controller-process/src/main/java/org/cloudfoundry/multiapps/controller/process/Messages.java
Outdated
Show resolved
Hide resolved
...java/org/cloudfoundry/multiapps/controller/process/steps/PollExecuteTaskStatusExecution.java
Outdated
Show resolved
Hide resolved
...java/org/cloudfoundry/multiapps/controller/process/steps/PollExecuteTaskStatusExecution.java
Outdated
Show resolved
Hide resolved
| if (lastLog == null) { | ||
| lastLog = Constants.LONG_DEFAULT_NULL_VALUE; | ||
| } | ||
| if (!lastLog.equals(Constants.LONG_DEFAULT_NULL_VALUE)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This if statement can be removed if default value is set
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But if statement is still present, is it really removed?
...process/src/main/java/org/cloudfoundry/multiapps/controller/process/variables/Variables.java
Outdated
Show resolved
Hide resolved
.../java/org/cloudfoundry/multiapps/controller/process/steps/PollExecuteTaskStatusStepTest.java
Outdated
Show resolved
Hide resolved
59cf55a to
4419e7f
Compare
… a long time LMCROSSITXSADEPLOY-3279
4419e7f to
6883328
Compare
...java/org/cloudfoundry/multiapps/controller/process/steps/PollExecuteTaskStatusExecution.java
Outdated
Show resolved
Hide resolved
LMCROSSITXSADEPLOY-3279
...java/org/cloudfoundry/multiapps/controller/process/steps/PollExecuteTaskStatusExecution.java
Outdated
Show resolved
Hide resolved
LMCROSSITXSADEPLOY-3279
...ontroller-process/src/main/java/org/cloudfoundry/multiapps/controller/process/Constants.java
Outdated
Show resolved
Hide resolved
| if (lastLog == null) { | ||
| lastLog = Constants.LONG_DEFAULT_NULL_VALUE; | ||
| } | ||
| if (!lastLog.equals(Constants.LONG_DEFAULT_NULL_VALUE)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But if statement is still present, is it really removed?
LMCROSSITXSADEPLOY-3279
LMCROSSITXSADEPLOY-3279
|
Squash commits before merge |
Add an occasional message when a task execution fails to complete for a long time
LMCROSSITXSADEPLOY-3279