Skip to content

Commit

Permalink
fix: change timeeout
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <[email protected]>
  • Loading branch information
vsukhin committed Nov 28, 2024
1 parent 9c03fe4 commit 9d85b35
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 @@ -243,12 +243,12 @@ func (ag *Agent) executeWorkflowServiceNotificationsRequest(ctx context.Context,
// Cloud sometimes slow to insert execution or test
// while WorkflowNotifications request from websockets comes in faster
// so we retry up to testWorkflowNotificationsRetryCount times.
time.Sleep(100 * time.Millisecond)
time.Sleep(time.Second)
notificationsCh, err = ag.testWorkflowServiceNotificationsFunc(ctx, req.ExecutionId, req.ServiceName, int(req.ServiceIndex))
}
}
if err != nil {
message := fmt.Sprintf("cannot get pod logs: %s", err.Error())
message := fmt.Sprintf("cannot get service pod logs: %s", err.Error())
ag.testWorkflowServiceNotificationsResponseBuffer <- &cloud.TestWorkflowServiceNotificationsResponse{
StreamId: req.StreamId,
SeqNo: 0,
Expand Down

0 comments on commit 9d85b35

Please sign in to comment.