server: Cover V3 health with tests

Signed-off-by: Siyuan Zhang <sizhang@google.com>
This commit is contained in:
Siyuan Zhang
2023-12-12 15:39:09 -08:00
parent f009772c84
commit cc44646a2e
6 changed files with 69 additions and 21 deletions

View File

@@ -773,6 +773,7 @@ func (e *Etcd) serveClients() (err error) {
} else {
mux := http.NewServeMux()
etcdhttp.HandleBasic(mux, e.Server)
etcdhttp.HandleMetricsHealth(mux, e.Server)
h = mux
}