pdms: support primary/transfer api for scheduling and tso #8157
77.02% of diff hit (within 3.00% threshold of 77.29%)
View this Pull Request on Codecov
77.02% of diff hit (within 3.00% threshold of 77.29%)
Annotations
Check warning on line 970 in client/http/interface.go
codecov / codecov/patch
client/http/interface.go#L970
Added line #L970 was not covered by tests
Check warning on line 82 in pkg/mcs/discovery/discover.go
codecov / codecov/patch
pkg/mcs/discovery/discover.go#L82
Added line #L82 was not covered by tests
Check warning on line 90 in pkg/mcs/discovery/discover.go
codecov / codecov/patch
pkg/mcs/discovery/discover.go#L90
Added line #L90 was not covered by tests
Check warning on line 95 in pkg/mcs/discovery/discover.go
codecov / codecov/patch
pkg/mcs/discovery/discover.go#L95
Added line #L95 was not covered by tests
Check warning on line 104 in pkg/mcs/discovery/discover.go
codecov / codecov/patch
pkg/mcs/discovery/discover.go#L104
Added line #L104 was not covered by tests
Check warning on line 118 in pkg/mcs/discovery/discover.go
codecov / codecov/patch
pkg/mcs/discovery/discover.go#L118
Added line #L118 was not covered by tests
Check warning on line 136 in pkg/mcs/discovery/discover.go
codecov / codecov/patch
pkg/mcs/discovery/discover.go#L136
Added line #L136 was not covered by tests
Check warning on line 143 in pkg/mcs/discovery/discover.go
codecov / codecov/patch
pkg/mcs/discovery/discover.go#L143
Added line #L143 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 367 in pkg/mcs/scheduling/server/server.go
codecov / codecov/patch
pkg/mcs/scheduling/server/server.go#L366-L367
Added lines #L366 - L367 were not covered by tests
Check warning on line 86 in pkg/mcs/utils/util.go
codecov / codecov/patch
pkg/mcs/utils/util.go#L85-L86
Added lines #L85 - L86 were not covered by tests
Check warning on line 103 in pkg/mcs/utils/util.go
codecov / codecov/patch
pkg/mcs/utils/util.go#L102-L103
Added lines #L102 - L103 were not covered by tests
Check warning on line 113 in pkg/mcs/utils/util.go
codecov / codecov/patch
pkg/mcs/utils/util.go#L112-L113
Added lines #L112 - L113 were not covered by tests
Check warning on line 118 in pkg/mcs/utils/util.go
codecov / codecov/patch
pkg/mcs/utils/util.go#L117-L118
Added lines #L117 - L118 were not covered by tests
Check warning on line 129 in pkg/mcs/utils/util.go
codecov / codecov/patch
pkg/mcs/utils/util.go#L128-L129
Added lines #L128 - L129 were not covered by tests
Check warning on line 702 in pkg/tso/global_allocator.go
codecov / codecov/patch
pkg/tso/global_allocator.go#L701-L702
Added lines #L701 - L702 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