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 missing tests for metered.go #6086

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

agautam478
Copy link
Contributor

What changed?
Added more tests for metered.go. The coverage should be 92% now.

Why?
increase code coverage.

How did you test it?

Potential risks

Release notes

Documentation Changes

handler.SignalWorkflowExecution(context.Background(), signalRequest)
err := handler.SignalWorkflowExecution(context.Background(), signalRequest)
if err != nil {
return
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you mean to return here on error or assert no err?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think my copilot added this accidentally via that handle error thing. removing.

@agautam478 agautam478 enabled auto-merge (squash) June 3, 2024 21:51
Copy link

codecov bot commented Jun 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.48%. Comparing base (0667205) to head (be9932b).
Report is 1 commits behind head on master.

Additional details and impacted files

see 7 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 0667205...be9932b. Read the comment docs.

@agautam478 agautam478 merged commit af66f14 into cadence-workflow:master Jun 3, 2024
19 of 20 checks passed
timl3136 pushed a commit to timl3136/cadence that referenced this pull request Jun 6, 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.

2 participants