Skip to content

Commit

Permalink
fix: groups
Browse files Browse the repository at this point in the history
  • Loading branch information
rangoo94 committed Aug 8, 2024
1 parent 6cd61f3 commit 120eae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/api/v1/testkube/model_test_workflow_result_extended.go
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ func recomputeTestWorkflowStepResult(v TestWorkflowStepResult, sig TestWorkflowS
// It is finished already
if !v.FinishedAt.IsZero() {
predicted, finished := predictTestWorkflowStepStatus(v, sig, r)
if finished {
if finished && (v.Status == nil || *v.Status == QUEUED_TestWorkflowStepStatus || *v.Status == PAUSED_TestWorkflowStepStatus || *v.Status == RUNNING_TestWorkflowStepStatus) {
v.Status = common.Ptr(predicted)
}
return v
Expand Down

0 comments on commit 120eae7

Please sign in to comment.