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

Function TestOriginManager_Loop

internal/nodes/origin_state_manager_test.go:7–15  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

5import "testing"
6
7func TestOriginManager_Loop(t *testing.T) {
8 var manager = NewOriginStateManager()
9 err := manager.Loop()
10 if err != nil {
11 t.Fatal(err)
12 }
13
14 t.Log(manager.stateMap)
15}

Callers

nothing calls this directly

Calls 3

NewOriginStateManagerFunction · 0.85
LogMethod · 0.80
LoopMethod · 0.45

Tested by

no test coverage detected