mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-11-10 08:57:25 +01:00
Also Benchmarks need _test in name
This commit is contained in:
parent
012b131b23
commit
205a400c6f
@ -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)
|
Loading…
Reference in New Issue
Block a user