(t *testing.T, size, workerCount int, processFunc ProcessFunc[T])
| 35 | } |
| 36 | |
| 37 | func newStartedQueue[T any](t *testing.T, size, workerCount int, processFunc ProcessFunc[T]) *Queue[T] { |
| 38 | q := newQueue(t, size, workerCount, processFunc) |
| 39 | q.StartWorkers() |
| 40 | |
| 41 | return q |
| 42 | } |
| 43 | |
| 44 | func getCounterValue(metric *prometheus.CounterVec) float64 { |
| 45 | m := &dto.Metric{} |
no test coverage detected