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

SetStartTime for activity test env #1646

Open
rrrkren opened this issue Sep 23, 2024 · 0 comments
Open

SetStartTime for activity test env #1646

rrrkren opened this issue Sep 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@rrrkren
Copy link

rrrkren commented Sep 23, 2024

Is your feature request related to a problem? Please describe.

TestWorkflowEnvironment supports a SetStartTime method which allows one to set the start time of the workflow during testing. It would be great if such a feature exists for TestActivityEnvironment so similar start time related features can be tested properly.

Describe the solution you'd like
TestActivityEnvironment to support SetStartTime

Describe alternatives you've considered
passing in start time for activity as parameter, but this is not encouraged as it could be imprecise due to worker coordination.

Additional context

@rrrkren rrrkren added the enhancement New feature or request label Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant