From 24f5f5dbefe9d0439cea56cf8e17e39d7e945ee9 Mon Sep 17 00:00:00 2001 From: Cody Littley Date: Wed, 27 Nov 2024 12:22:07 -0600 Subject: [PATCH] Fix test bug Signed-off-by: Cody Littley --- relay/cache/cache_accessor_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relay/cache/cache_accessor_test.go b/relay/cache/cache_accessor_test.go index 16f33d0b0..9f431551f 100644 --- a/relay/cache/cache_accessor_test.go +++ b/relay/cache/cache_accessor_test.go @@ -285,7 +285,7 @@ func TestConcurrencyLimiter(t *testing.T) { cacheSize := 100 - ca, err := NewCacheAccessor[int, *string](nil, uint64(cacheSize), 0, accessor, nil) + ca, err := NewCacheAccessor[int, *string](nil, uint64(cacheSize), maxConcurrency, accessor, nil) require.NoError(t, err) wg := sync.WaitGroup{}