-
Notifications
You must be signed in to change notification settings - Fork 800
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
Add addition unit tests and comment out unused code in workflow parsing utils functions #5870
Add addition unit tests and comment out unused code in workflow parsing utils functions #5870
Conversation
…omment out part of the function that would never be called.
Codecov Report
Additional details and impacted files
... and 5 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
// in case CrossClusterTaskDefaultTargetRunID is updated and not equal to TransferTaskTransferTargetRunID | ||
// if v, ok := result["target_run_id"]; ok { | ||
// info.TargetRunID = v.(gocql.UUID).String() | ||
// if info.TargetRunID == persistence.CrossClusterTaskDefaultTargetRunID { | ||
// info.TargetRunID = "" | ||
// } | ||
// } | ||
// return info | ||
|
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.
let's just remove this. leaving commented code is confusing
What changed?
Add more unit tests, also comment out code that will almost never be run
Why?
Improve test coverage and stability
How did you test it?
Unit tests
Potential risks
Release notes
Documentation Changes