Skip to content

Optimize spiderpool leader lease election

Codecov / codecov/patch succeeded Sep 14, 2024 in 0s

52.94% of diff hit (within 10.00% threshold of 60.00%)

View this Pull Request on Codecov

52.94% of diff hit (within 10.00% threshold of 60.00%)

Annotations

Check warning on line 100 in pkg/applicationcontroller/app_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/applicationcontroller/app_controller.go#L100

Added line #L100 was not covered by tests

Check warning on line 111 in pkg/applicationcontroller/app_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/applicationcontroller/app_controller.go#L110-L111

Added lines #L110 - L111 were not covered by tests

Check warning on line 141 in pkg/election/lease_election.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/election/lease_election.go#L141

Added line #L141 was not covered by tests

Check warning on line 73 in pkg/ippoolmanager/ippool_informer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/ippoolmanager/ippool_informer.go#L72-L73

Added lines #L72 - L73 were not covered by tests

Check warning on line 83 in pkg/ippoolmanager/ippool_informer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/ippoolmanager/ippool_informer.go#L83

Added line #L83 was not covered by tests