(wg *sync.WaitGroup, count int)
| 74 | } |
| 75 | |
| 76 | func addErrorCount(wg *sync.WaitGroup, count int) { |
| 77 | for i := 0; i < count; i++ { |
| 78 | GlobalState.AddErrorCount("test", errors.New("test error"), 1) |
| 79 | } |
| 80 | wg.Add(-1) |
| 81 | } |
| 82 | |
| 83 | // performance tests |
| 84 |
no test coverage detected