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

Added tests for metered.go #6083

Closed agautam478 closed 4 weeks ago

agautam478 commented 4 weeks ago

What changed? Added tests for the 50% of the methods in metered.go Will push rest of the tests in the upcoming PR.

Why? code coverage.

How did you test it?

Potential risks

Release notes

Documentation Changes

coveralls commented 4 weeks ago

Pull Request Test Coverage Report for Build 018fdf61-ac8e-4492-9f08-45fe4fa188df

Details


Files with Coverage Reduction New Missed Lines %
common/task/weighted_round_robin_task_scheduler.go 2 89.05%
common/persistence/sql/sqlplugin/postgres/task.go 2 73.4%
service/matching/tasklist/task_list_manager.go 2 76.09%
service/history/task/transfer_active_task_executor.go 2 72.79%
common/persistence/sql/sqlplugin/postgres/db.go 9 65.0%
<!-- Total: 17 -->
Totals Coverage Status
Change from base Build 018fdeeb-1615-4507-ae03-236a4f5abcab: 0.06%
Covered Lines: 103174
Relevant Lines: 147936

💛 - Coveralls