Skip to content

Commit

Permalink
fix: comments
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io>
  • Loading branch information
vsukhin committed Dec 3, 2024
1 parent ce5215f commit fdffbc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/agent/testworkflows.go
Original file line number Diff line number Diff line change
Expand Up @@ -383,9 +383,9 @@ func (ag *Agent) executeWorkflowParallelStepNotificationsRequest(ctx context.Con
notificationsCh, err := retry.DoWithData(
func() (<-chan testkube.TestWorkflowExecutionNotification, error) {
// We have a race condition here
// Cloud sometimes slow to start service
// Cloud sometimes slow to start parallel step
// while WorkflowNotifications request from websockets comes in faster
// so we retry up to wait till service pod is uo or execution is finished.
// so we retry up to wait till parallel step pod is uo or execution is finished.
return ag.testWorkflowServiceNotificationsFunc(ctx, req.ExecutionId, req.Ref, int(req.ParallelStepIndex))
},
retry.DelayType(retry.FixedDelay),
Expand Down

0 comments on commit fdffbc9

Please sign in to comment.