pdms: support primary/transfer api for scheduling and tso #8157
75.44% of diff hit (within 3.00% threshold of 77.35%)
View this Pull Request on Codecov
75.44% of diff hit (within 3.00% threshold of 77.35%)
Annotations
Check warning on line 919 in client/http/interface.go
codecov / codecov/patch
client/http/interface.go#L919
Added line #L919 was not covered by tests
Check warning on line 78 in pkg/election/leadership.go
codecov / codecov/patch
pkg/election/leadership.go#L77-L78
Added lines #L77 - L78 were not covered by tests
Check warning on line 81 in pkg/mcs/discovery/discover.go
codecov / codecov/patch
pkg/mcs/discovery/discover.go#L81
Added line #L81 was not covered by tests
Check warning on line 89 in pkg/mcs/discovery/discover.go
codecov / codecov/patch
pkg/mcs/discovery/discover.go#L89
Added line #L89 was not covered by tests
Check warning on line 94 in pkg/mcs/discovery/discover.go
codecov / codecov/patch
pkg/mcs/discovery/discover.go#L94
Added line #L94 was not covered by tests
Check warning on line 103 in pkg/mcs/discovery/discover.go
codecov / codecov/patch
pkg/mcs/discovery/discover.go#L103
Added line #L103 was not covered by tests
Check warning on line 117 in pkg/mcs/discovery/discover.go
codecov / codecov/patch
pkg/mcs/discovery/discover.go#L117
Added line #L117 was not covered by tests
Check warning on line 134 in pkg/mcs/discovery/discover.go
codecov / codecov/patch
pkg/mcs/discovery/discover.go#L134
Added line #L134 was not covered by tests
Check warning on line 133 in pkg/mcs/scheduling/server/server.go
codecov / codecov/patch
pkg/mcs/scheduling/server/server.go#L132-L133
Added lines #L132 - L133 were not covered by tests
Check warning on line 338 in pkg/mcs/scheduling/server/server.go
codecov / codecov/patch
pkg/mcs/scheduling/server/server.go#L337-L338
Added lines #L337 - L338 were not covered by tests
Check warning on line 360 in pkg/mcs/scheduling/server/server.go
codecov / codecov/patch
pkg/mcs/scheduling/server/server.go#L359-L360
Added lines #L359 - L360 were not covered by tests
Check warning on line 82 in pkg/mcs/utils/util.go
codecov / codecov/patch
pkg/mcs/utils/util.go#L81-L82
Added lines #L81 - L82 were not covered by tests
Check warning on line 98 in pkg/mcs/utils/util.go
codecov / codecov/patch
pkg/mcs/utils/util.go#L97-L98
Added lines #L97 - L98 were not covered by tests
Check warning on line 108 in pkg/mcs/utils/util.go
codecov / codecov/patch
pkg/mcs/utils/util.go#L107-L108
Added lines #L107 - L108 were not covered by tests
Check warning on line 119 in pkg/mcs/utils/util.go
codecov / codecov/patch
pkg/mcs/utils/util.go#L118-L119
Added lines #L118 - L119 were not covered by tests
Check warning on line 695 in pkg/tso/global_allocator.go
codecov / codecov/patch
pkg/tso/global_allocator.go#L694-L695
Added lines #L694 - L695 were not covered by tests
Check warning on line 705 in pkg/tso/global_allocator.go
codecov / codecov/patch
pkg/tso/global_allocator.go#L704-L705
Added lines #L704 - L705 were not covered by tests
Check warning on line 96 in server/apiv2/handlers/micro_service.go
codecov / codecov/patch
server/apiv2/handlers/micro_service.go#L95-L96
Added lines #L95 - L96 were not covered by tests
Check warning on line 103 in server/apiv2/handlers/micro_service.go
codecov / codecov/patch
server/apiv2/handlers/micro_service.go#L102-L103
Added lines #L102 - L103 were not covered by tests
Check warning on line 115 in server/apiv2/handlers/micro_service.go
codecov / codecov/patch
server/apiv2/handlers/micro_service.go#L112-L115
Added lines #L112 - L115 were not covered by tests
Check warning on line 117 in server/apiv2/handlers/micro_service.go
codecov / codecov/patch
server/apiv2/handlers/micro_service.go#L117
Added line #L117 was not covered by tests
Check warning on line 122 in server/apiv2/handlers/micro_service.go
codecov / codecov/patch
server/apiv2/handlers/micro_service.go#L121-L122
Added lines #L121 - L122 were not covered by tests
Check warning on line 132 in server/apiv2/handlers/micro_service.go
codecov / codecov/patch
server/apiv2/handlers/micro_service.go#L132
Added line #L132 was not covered by tests