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.97k stars 773 forks source link

Add tests for QueryWorkflow in service/frontend/api/handler.go #6094

Closed fimanishi closed 4 weeks ago

fimanishi commented 4 weeks ago

What changed? tests for QueryWorkflow in service/frontend/api/handler.go

Why? improve unit test coverage

How did you test it? unit tests

Potential risks

Release notes

Documentation Changes

coveralls commented 4 weeks ago

Pull Request Test Coverage Report for Build 018fe405-5695-438b-8798-2532cad3cd06

Details


Files with Coverage Reduction New Missed Lines %
common/task/weighted_round_robin_task_scheduler.go 1 89.05%
common/backoff/retry.go 1 92.11%
service/history/task/transfer_standby_task_executor.go 2 86.33%
common/task/parallel_task_processor.go 2 93.06%
host/taskpoller.go 2 71.94%
common/util.go 2 91.84%
service/history/task/timer_active_task_executor.go 2 79.33%
service/history/task/task_util.go 2 76.29%
service/history/execution/mutable_state_util.go 2 78.52%
common/membership/hashring.go 2 84.69%
<!-- Total: 56 -->
Totals Coverage Status
Change from base Build 018fe3ff-2fc8-4b3a-8126-da4895f07bea: 0.02%
Covered Lines: 104473
Relevant Lines: 148950

💛 - Coveralls