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

Add tests for history/execution/history_builder.go #5977

Merged
merged 2 commits into from
May 8, 2024

Conversation

natemort
Copy link
Contributor

@natemort natemort commented May 7, 2024

What changed?

  • Add additional test cases to history_builder_test.go

Why?

  • Increase test coverage

How did you test it?

  • Unit tests

Potential risks

Release notes

Documentation Changes

Copy link

codecov bot commented May 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 64.30%. Comparing base (abfa99b) to head (5801149).
Report is 7 commits behind head on master.

Additional details and impacted files

see 9 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update abfa99b...5801149. Read the comment docs.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 018f54b0-d20e-4c2b-a5f5-7a012ae80431

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 59 unchanged lines in 10 files lost coverage.
  • Overall coverage increased (+0.002%) to 68.19%

Files with Coverage Reduction New Missed Lines %
common/task/weighted_round_robin_task_scheduler.go 2 89.05%
service/frontend/api/handler.go 2 62.26%
service/history/execution/mutable_state_util.go 2 78.52%
common/membership/hashring.go 2 84.69%
service/history/task/fetcher.go 3 86.6%
common/archiver/filestore/historyArchiver.go 4 80.95%
service/matching/taskListManager.go 5 80.4%
service/frontend/wrappers/metered/metered.go 9 63.18%
service/history/task/transfer_standby_task_executor.go 10 86.21%
service/history/task/task_util.go 20 70.57%
Totals Coverage Status
Change from base Build 018f54af-1427-4fbc-bc5d-7b9472685578: 0.002%
Covered Lines: 100165
Relevant Lines: 146892

💛 - Coveralls

@natemort natemort merged commit 73e6dbc into uber:master May 8, 2024
20 checks passed
timl3136 pushed a commit to timl3136/cadence that referenced this pull request May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants