Fixed the conditional check that failed to find promotion in STARTED state
References #172
This commit is contained in:
parent
7b6efb297b
commit
8d595463ec
|
@ -682,8 +682,8 @@ class WorkFlow {
|
|||
|
||||
|
||||
/* Find out if any other promotions are waiting for results */
|
||||
models.PromotionResult startedPromotionResult = deployment.getPromotionResultSet().find() {
|
||||
pr -> pr.promotionIdent == Status.STARTED
|
||||
models.PromotionResult startedPromotionResult = deployment.promotionResultSet.find() {
|
||||
pr -> pr.status == Status.STARTED
|
||||
}
|
||||
if (startedPromotionResult != null) {
|
||||
/* Wait for more promotion results */
|
||||
|
|
|
@ -239,7 +239,6 @@ class PromotionCompletedNotificationsSpec extends Specification {
|
|||
deployment = integAppHelper.runner.getApplication().workFlow.deploymentDAO
|
||||
.get(deploymentId)
|
||||
}
|
||||
println "***MVK: deployment=${deployment}"
|
||||
|
||||
then:
|
||||
success == true
|
||||
|
|
Loading…
Reference in New Issue