uber / cadence

Cadence is a distributed, scalable, durable, and highly available orchestration engine to execute asynchronous long-running business logic in a scalable and resilient way.
https://cadenceworkflow.io
MIT License
7.96k stars 772 forks source link

Add additional unit tests for workflow execution methods in frontend api handler #6124

Closed timl3136 closed 3 weeks ago

timl3136 commented 3 weeks ago

What changed? Add unit tests for SignalWithStartWorkflowExecution, ResetWorkflowExecution and TerminateWorkflowExecution methods in frontend api handler

Why? Improve test coverage

How did you test it? Unit tests

Potential risks

Release notes

Documentation Changes

coveralls commented 3 weeks ago

Pull Request Test Coverage Report for Build 018ff4f0-ea3e-485e-81d3-4e14cb531d37

Details


Files with Coverage Reduction New Missed Lines %
service/matching/tasklist/matcher.go 2 89.35%
common/task/fifo_task_scheduler.go 3 84.54%
common/persistence/statsComputer.go 3 98.21%
<!-- Total: 8 -->
Totals Coverage Status
Change from base Build 018fefa1-26fc-4131-8c40-f79719037bde: 0.05%
Covered Lines: 106472
Relevant Lines: 149093

💛 - Coveralls