MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / TestRun

Function TestRun

internal/utils/idles/run_test.go:30–35  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

28}
29
30func TestRun(t *testing.T) {
31 idles.TestSetMinLoadHours([]int{0, time.Now().Hour()})
32 idles.Run(func() {
33 t.Log("run once")
34 })
35}
36
37func TestRunTicker(t *testing.T) {
38 if !testutils.IsSingleTesting() {

Callers

nothing calls this directly

Calls 4

TestSetMinLoadHoursFunction · 0.92
RunFunction · 0.92
HourMethod · 0.80
LogMethod · 0.80

Tested by

no test coverage detected