Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoEdgeLab/EdgeNode
/ TestTrackers_Add
Function
TestTrackers_Add
internal/trackers/manager_test.go:50–56 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
48
}
49
50
func
TestTrackers_Add(t *testing.T) {
51
var
tr = trackers.Begin(
"a"
)
52
time.Sleep(50 * time.Millisecond)
53
tr.Add(-10 * time.Millisecond)
54
tr.End()
55
t.Log(trackers.SharedManager.Labels())
56
}
Callers
nothing calls this directly
Calls
5
Begin
Function · 0.92
Log
Method · 0.80
Labels
Method · 0.80
Add
Method · 0.65
End
Method · 0.45
Tested by
no test coverage detected