Skip to content

Improve ExecutionStartToCloseTimeoutSeconds in Go Client Tests #7563

@natemort

Description

@natemort

Is your feature request related to a problem? Please describe.
This relates to the Go client, putting it here for consolidation.

Within a Workflow you may inspect the ExecutionStartToCloseTimeoutSeconds via:

workflow.GetInfo(ctx).ExecutionStartToCloseTimeoutSeconds

In the TestWorkflowEnvironment this always has a value of 1 second, even thought we have TestWorkflowEnvironment.SetWorkflowTimeout which explicitly allows for controlling the workflow timeout.

Proposed Solution
Update the test WorkflowInfo's ExecutionStartToCloseTimeoutSeconds to match the execution timeout specified to the TestWorkflowEnvironment.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueUp for grab as first issue to contribute to Cadence projectup-for-grabsIssues that are good entry points for those new to Cadence that want to contribute

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions