MCPcopy Create free account
hub / github.com/devfeel/dotweb / addErrorCount

Function addErrorCount

core/state_test.go:76–81  ·  view source on GitHub ↗
(wg *sync.WaitGroup, count int)

Source from the content-addressed store, hash-verified

74}
75
76func 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

Callers 1

Test_AddErrorCount_1Function · 0.85

Calls 1

AddErrorCountMethod · 0.80

Tested by

no test coverage detected