Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase test timeout #6908

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions components/nexusoperations/executors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ func TestProcessInvocationTask(t *testing.T) {
{
name: "invocation timeout by ScheduleToCloseTimeout",
requestTimeout: time.Hour,
schedToCloseTimeout: 2 * time.Millisecond,
schedToCloseTimeout: 10 * time.Millisecond,
destinationDown: true,
expectedMetricOutcome: "request-timeout",
onStartOperation: func(ctx context.Context, service, operation string, input *nexus.LazyValue, options nexus.StartOperationOptions) (nexus.HandlerStartOperationResult[any], error) {
Expand Down Expand Up @@ -655,7 +655,7 @@ func TestProcessCancelationTask(t *testing.T) {
},
{
name: "invocation timeout",
requestTimeout: 2 * time.Millisecond,
requestTimeout: 10 * time.Millisecond,
destinationDown: true,
onCancelOperation: func(ctx context.Context, service, operation, operationID string, options nexus.CancelOperationOptions) error {
time.Sleep(time.Millisecond * 100) //nolint:forbidigo // Allow time.Sleep for timeout tests
Expand Down
Loading