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

Added unit tests for history handler #5987

Merged
merged 1 commit into from
May 8, 2024

Conversation

timl3136
Copy link
Member

@timl3136 timl3136 commented May 8, 2024

What changed?
Added more unit tests for history handler

Why?
Improve test coverage and stability

How did you test it?
Unit tests

Potential risks

Release notes

Documentation Changes

Copy link

codecov bot commented May 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.01%. Comparing base (b4bbae4) to head (3636c7b).
Report is 1 commits behind head on master.

Additional details and impacted files

see 8 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 b4bbae4...3636c7b. Read the comment docs.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 018f595f-7d5a-46db-9c87-49c5efddbd0d

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 48 unchanged lines in 12 files lost coverage.
  • Overall coverage increased (+0.008%) to 68.51%

Files with Coverage Reduction New Missed Lines %
common/task/weighted_round_robin_task_scheduler.go 2 89.05%
common/cache/lru.go 2 92.89%
service/matching/taskListManager.go 2 80.65%
common/membership/hashring.go 2 84.69%
common/persistence/historyManager.go 2 66.67%
service/history/task/transfer_standby_task_executor.go 3 86.21%
service/history/task/task.go 3 84.81%
common/persistence/statsComputer.go 3 96.07%
service/history/task/fetcher.go 4 85.05%
service/history/execution/cache.go 6 74.61%
Totals Coverage Status
Change from base Build 018f5920-e167-45cd-8901-b0a5fa3bbbfc: 0.008%
Covered Lines: 100628
Relevant Lines: 146881

💛 - Coveralls

@timl3136 timl3136 enabled auto-merge (squash) May 8, 2024 20:36
@timl3136 timl3136 merged commit 2c7aca3 into cadence-workflow:master May 8, 2024
20 checks passed
timl3136 added 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.

3 participants