-
Notifications
You must be signed in to change notification settings - Fork 210
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
Allow setting activity timeouts in TestActivityEnvironment #1167
Comments
+1 to this. Activity test times out at 10 minute point, which is too short for some of my activities. |
While supporting an override is fine, in general I think you should use a real server if you are running such tests (you can easily start a dev server using the |
Which is extra boilerplate code just to execute an Activity, isn't it? I already have loads of test Workflows that bloat my project and bring confusion by decoupling the Go's |
Not sure about "boilerplate". It starts a real server you can do real integration tests on. There's a lot of value in running against a real server. |
Currently, the TestActivityEnvironment has a hard-coded 10 minute timeout. If I want to use the test suite to run an activity which takes longer than that, it fails with a timeout error.
Adding the ability to run the activity with options like timeout values in the test environment would help a lot in testing and debugging long activities.
Thanks!
The text was updated successfully, but these errors were encountered: