From 205a400c6fb97d9635db67b105cf161551b016b9 Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Thu, 1 Jun 2023 14:10:10 +0200 Subject: [PATCH] Also Benchmarks need _test in name --- internal/repository/{repository_bench.go => repository_test.go} | 2 ++ 1 file changed, 2 insertions(+) rename internal/repository/{repository_bench.go => repository_test.go} (97%) diff --git a/internal/repository/repository_bench.go b/internal/repository/repository_test.go similarity index 97% rename from internal/repository/repository_bench.go rename to internal/repository/repository_test.go index 598d379..0aec9f6 100644 --- a/internal/repository/repository_bench.go +++ b/internal/repository/repository_test.go @@ -84,6 +84,8 @@ func BenchmarkDB_CountJobs(b *testing.B) { filter.State = append(filter.State, "running") cluster := "fritz" filter.Cluster = &model.StringInput{Eq: &cluster} + user := "mppi133h" + filter.User = &model.StringInput{Eq: &user} b.Run("CountJobs", func(b *testing.B) { db := setup(b)