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 unit tests for RespondActivityTaskFailedByID in frontend API handler #6091

Closed timl3136 closed 4 weeks ago

timl3136 commented 4 weeks ago

What changed? Add unit tests for RespondActivityTaskFailedByID in frontend api handler

Why? Improve test coverage and stability

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 018fe099-4d86-443c-bab5-7ae16970a85d

Details


Files with Coverage Reduction New Missed Lines %
common/task/weighted_round_robin_task_scheduler.go 1 89.05%
common/persistence/sql/sqlplugin/mysql/task.go 2 73.68%
service/history/task/transfer_active_task_executor.go 2 72.79%
common/util.go 2 91.78%
service/history/task/fetcher.go 2 85.57%
common/persistence/sql/sqlplugin/mysql/db.go 2 79.49%
service/history/handler/handler.go 3 96.2%
common/task/fifo_task_scheduler.go 3 84.54%
common/archiver/filestore/historyArchiver.go 4 80.95%
service/history/task/transfer_standby_task_executor.go 6 86.33%
<!-- Total: 182 -->
Totals Coverage Status
Change from base Build 018fe051-df14-4702-b515-0388c6db07f3: -0.04%
Covered Lines: 103168
Relevant Lines: 147936

💛 - Coveralls