Skip to content

Commit

Permalink
test: fix metric name typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanaasagi committed Jul 31, 2019
1 parent 9e75f27 commit 3ef1683
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration/metrics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,11 @@ func TestMetricsHealth(t *testing.T) {
t.Fatal(err)
}

hv, err := clus.Members[0].Metric("etcd_server_health_failure")
hv, err := clus.Members[0].Metric("etcd_server_health_failures")
if err != nil {
t.Fatal(err)
}
if hv != "0" {
t.Fatalf("expected '0' from etcd_server_health_failure, got %q", hv)
t.Fatalf("expected '0' from etcd_server_health_failures, got %q", hv)
}
}

0 comments on commit 3ef1683

Please sign in to comment.