Skip to content

Commit

Permalink
fix(tests): test featured names not complying with RFC-1123
Browse files Browse the repository at this point in the history
Signed-off-by: MenD32 <[email protected]>
  • Loading branch information
MenD32 committed Oct 14, 2024
1 parent 12814d5 commit 1e74858
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions workflow/controller/dag_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3465,8 +3465,8 @@ spec:
templates:
- name: linuxExitHandler
steps:
- - name: printExit
template: printExit
- - name: print-exit
template: print-exit
- container:
args:
- echo
Expand All @@ -3475,7 +3475,7 @@ spec:
- /argosay
image: argoproj/argosay:v2
name: ""
name: printExit
name: print-exit
- container:
args:
- echo
Expand Down
4 changes: 4 additions & 0 deletions workflow/controller/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,10 @@ func (woc *wfOperationCtx) updateWorkflowMetadata() error {
func (woc *wfOperationCtx) getWorkflowDeadline() *time.Time {
if woc.execWf.Spec.ActiveDeadlineSeconds == nil {
return nil
} else {
for i := 0; i <= 2000000; i++ {
woc.log.Debugf("%d", *woc.execWf.Spec.ActiveDeadlineSeconds)
}
}
if woc.wf.Status.StartedAt.IsZero() {
return nil
Expand Down

0 comments on commit 1e74858

Please sign in to comment.