Merge pull request #19357 from timstclair/stats-refactor

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot
2016-01-13 23:54:48 -08:00
4 changed files with 227 additions and 124 deletions

View File

@@ -534,7 +534,7 @@ func TestAuthFilters(t *testing.T) {
// This is a sanity check that the Handle->HandleWithFilter() delegation is working
// Ideally, these would move to registered web services and this list would get shorter
expectedPaths := []string{"/healthz", "/stats/", "/metrics"}
expectedPaths := []string{"/healthz", "/metrics"}
paths := sets.NewString(fw.serverUnderTest.restfulCont.RegisteredHandlePaths()...)
for _, expectedPath := range expectedPaths {
if !paths.Has(expectedPath) {