-
Notifications
You must be signed in to change notification settings - Fork 805
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
Api handler test respond activity task failed alternate #5980
Api handler test respond activity task failed alternate #5980
Conversation
service/frontend/api/handler_test.go
Outdated
} | ||
|
||
func TestRespondActivityTaskFailed(t *testing.T) { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: remove empty line at the beginning of function
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted filessee 4 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Pull Request Test Coverage Report for Build 018f54c6-bb72-4d0c-a877-c16c27e1362aDetails
💛 - Coveralls |
Base branch was modified
…flow#5980) * TestRespondActivityTaskFailed_Success implementation * Alternate test for TerstRespondActivityTaskFailed * code lint
…flow#5980) * TestRespondActivityTaskFailed_Success implementation * Alternate test for TerstRespondActivityTaskFailed * code lint
…flow#5980) * TestRespondActivityTaskFailed_Success implementation * Alternate test for TerstRespondActivityTaskFailed * code lint
What changed?
Adding test for TestRespondActivityTaskFailed which can be expanded into code paths other than happy-path. Provided test for probing for an error when workflows are shutting down.
This is the alternate test to: #5979
Why?
increasing code coverage
How did you test it?
ran it locally
Potential risks
no changes to functionality
Release notes
Documentation Changes