Skip to content

Commit

Permalink
fix groupcache test to use prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
wbh1 committed Apr 20, 2022
1 parent 64c2315 commit b224db9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/cache/groupcache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ func TestMain(m *testing.M) {
os.Exit(1)
}

httpServer := httpserver.New(log.NewNopLogger(), nil, component.Bucket, &prober.HTTPProbe{},
httpServer := httpserver.New(log.NewNopLogger(), nil, component.Bucket, "/", &prober.HTTPProbe{},
httpserver.WithListen("0.0.0.0:12345"))
httpServer.Handle("/", router)
httpServerH2C := httpserver.New(log.NewNopLogger(), nil, component.Bucket, &prober.HTTPProbe{},
httpServerH2C := httpserver.New(log.NewNopLogger(), nil, component.Bucket, "/", &prober.HTTPProbe{},
httpserver.WithListen("0.0.0.0:12346"), httpserver.WithEnableH2C(true))
httpServerH2C.Handle("/", router)

Expand Down

0 comments on commit b224db9

Please sign in to comment.