Skip to content

close client and metrics listeners firstly when shutting down etcd

Codecov / codecov/patch succeeded Jan 20, 2025 in 1s

74.07% of diff hit (target 68.73%)

View this Pull Request on Codecov

74.07% of diff hit (target 68.73%)

Annotations

Check warning on line 421 in server/embed/etcd.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/embed/etcd.go#L421

Added line #L421 was not covered by tests

Check warning on line 866 in server/embed/etcd.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/embed/etcd.go#L866

Added line #L866 was not covered by tests

Check warning on line 868 in server/embed/etcd.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/embed/etcd.go#L868

Added line #L868 was not covered by tests

Check warning on line 259 in server/embed/serve.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/embed/serve.go#L259

Added line #L259 was not covered by tests