Also Benchmarks need _test in name

This commit is contained in:
Jan Eitzinger 2023-06-01 14:10:10 +02:00
parent 012b131b23
commit 205a400c6f

View File

@ -84,6 +84,8 @@ func BenchmarkDB_CountJobs(b *testing.B) {
filter.State = append(filter.State, "running") filter.State = append(filter.State, "running")
cluster := "fritz" cluster := "fritz"
filter.Cluster = &model.StringInput{Eq: &cluster} filter.Cluster = &model.StringInput{Eq: &cluster}
user := "mppi133h"
filter.User = &model.StringInput{Eq: &user}
b.Run("CountJobs", func(b *testing.B) { b.Run("CountJobs", func(b *testing.B) {
db := setup(b) db := setup(b)