From b224db9846997f4d2a18be4798216db54f7c4935 Mon Sep 17 00:00:00 2001 From: Will Hegedus Date: Wed, 20 Apr 2022 14:40:27 -0400 Subject: [PATCH] fix groupcache test to use prefix --- pkg/cache/groupcache_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cache/groupcache_test.go b/pkg/cache/groupcache_test.go index 06df4cf6425..b851e559f67 100644 --- a/pkg/cache/groupcache_test.go +++ b/pkg/cache/groupcache_test.go @@ -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)